/* MySSH website. Light is warm paper, dark is the app's own palette.
   The app mock-ups (.mock) keep the app's dark tokens in both themes. */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-cyrillic-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #faf6f0;
  --bg-2: #f3ece2;
  --card: #fffdfa;
  --ink: #1c1815;
  --ink-2: #5d544c;
  --ink-3: #8a8077;
  --line: #e9e0d4;
  --line-2: #d8ccbd;
  --accent: #d94e08;
  --accent-soft: rgba(226, 83, 10, 0.09);
  --accent-line: rgba(226, 83, 10, 0.3);
  --ok: #1a8f57;
  --ok-soft: rgba(26, 143, 87, 0.1);
  --warn: #9a6100;
  --warn-soft: rgba(204, 136, 0, 0.1);
  --warn-line: rgba(204, 136, 0, 0.35);
  --ember: linear-gradient(135deg, #ffa861 0%, #ff6a3d 100%);
  --ember-ink: #24100a;
  --glow: rgba(255, 122, 69, 0.22);
  --aura-1: rgba(255, 138, 76, 0.32);
  --aura-2: rgba(255, 190, 92, 0.3);
  --aura-3: rgba(226, 83, 10, 0.16);
  --dot: 60, 40, 20;
  --dot-alpha: 0.15;
  --dot-hot: 206, 128, 92;
  --head: rgba(250, 246, 240, 0.6);
  --glass-edge: rgba(255, 255, 255, 0.6);
  --glass-rim: rgba(60, 40, 20, 0.09);
  --glass-shine: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 6px 18px rgba(60, 30, 10, 0.06);
  --shadow-card: 0 1px 2px rgba(60, 40, 20, 0.04), 0 8px 24px rgba(60, 40, 20, 0.05);
  --shadow-win: 0 40px 90px rgba(60, 30, 10, 0.28), 0 8px 24px rgba(60, 30, 10, 0.16);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  --r-l: 22px;
  --r-xl: 30px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0d10;
  --bg-2: #101317;
  --card: #14181d;
  --ink: #eceef2;
  --ink-2: #a3abb8;
  --ink-3: #727b8b;
  --line: #20252d;
  --line-2: #2e3541;
  --accent: #ff7a45;
  --accent-soft: rgba(255, 122, 69, 0.12);
  --accent-line: rgba(255, 122, 69, 0.4);
  --ok: #4bd396;
  --ok-soft: rgba(75, 211, 150, 0.12);
  --warn: #f2bd4b;
  --warn-soft: rgba(242, 189, 75, 0.09);
  --warn-line: rgba(242, 189, 75, 0.35);
  --glow: rgba(255, 122, 69, 0.16);
  --aura-1: rgba(255, 122, 69, 0.2);
  --aura-2: rgba(255, 176, 84, 0.11);
  --aura-3: rgba(255, 96, 52, 0.15);
  --dot: 255, 255, 255;
  --dot-alpha: 0.1;
  --dot-hot: 240, 178, 146;
  --head: rgba(11, 13, 16, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.07);
  --glass-rim: rgba(255, 255, 255, 0.07);
  --glass-shine: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-win: 0 40px 90px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}

::selection {
  background: rgba(255, 122, 69, 0.28);
}

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------- header */

/* The header floats as a pane of frosted glass, clearly see-through, over
   a strong blur, with a faint rim and sheen. (An SVG filter that
   bends the backdrop was tried: in Chrome it switched the blur off.) */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 12px 0;
  pointer-events: none;
}

.site-head .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
  max-width: 1200px;
  padding: 0 14px 0 22px;
  border-radius: 24px;
  background: var(--head);
  border: 1px solid var(--glass-rim);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow);
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  backdrop-filter: saturate(170%) blur(22px);
  pointer-events: auto;
  transition: box-shadow 0.25s, background 0.25s;
}

.site-head .wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--glass-shine), transparent 50%);
  pointer-events: none;
}

.site-head .wrap > * {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

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

.nav {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
}

.tool:hover {
  color: var(--ink);
  background: var(--accent-soft);
}

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

:root[data-theme="dark"] .tool .to-dark,
:root:not([data-theme="dark"]) .tool .to-light {
  display: none;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

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

.btn.primary {
  background: var(--ember);
  color: var(--ember-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 24px -8px rgba(255, 106, 61, 0.65);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 30px -8px rgba(255, 106, 61, 0.7);
}

.btn.ghost {
  border-color: var(--line-2);
  background: var(--card);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.btn.small {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 36px 0 0;
  text-align: center;
}

/* Behind the hero: three slow lights, and a field of dots over them. */
.aura {
  position: absolute;
  inset: -68px 0 auto;
  height: 1060px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Dots the pointer pushes apart, drawn by the page script; they fade out
   towards the window below. */
.aura .dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 92%);
  mask-image: linear-gradient(#000 55%, transparent 92%);
}

.aura i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.aura i:nth-child(1) {
  width: 560px;
  height: 420px;
  left: calc(50% - 560px);
  top: 90px;
  background: var(--aura-1);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aura i:nth-child(2) {
  width: 480px;
  height: 380px;
  left: calc(50% + 40px);
  top: 200px;
  background: var(--aura-2);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.aura i:nth-child(3) {
  width: 900px;
  height: 460px;
  left: calc(50% - 450px);
  top: 560px;
  background: var(--aura-3);
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a {
  50% {
    transform: translate(120px, 60px) scale(1.12);
  }
  to {
    transform: translate(40px, 140px) scale(0.95);
  }
}

@keyframes drift-b {
  50% {
    transform: translate(-140px, 90px) scale(0.9);
  }
  to {
    transform: translate(-60px, -40px) scale(1.15);
  }
}

@keyframes drift-c {
  50% {
    transform: translate(80px, -50px) scale(1.08);
  }
  to {
    transform: translate(-90px, 20px) scale(0.94);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}

.pill .dot,
.win-tab.active i {
  animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(75, 211, 150, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(75, 211, 150, 0);
  }
}

.pill b {
  color: var(--ink);
  font-weight: 650;
}

.hero h1 {
  max-width: 1140px;
  margin: 22px auto 0;
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.nb {
  white-space: nowrap;
}

.hero h1 em {
  display: block;
  font-style: normal;
  background: linear-gradient(135deg, #ff9a52, #ff5a36);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 20.5px);
  line-height: 1.55;
  text-wrap: pretty;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.cta-note {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* Under the note: the same app for the other system. */
.cta-alt {
  margin-top: 6px;
}

.cta-alt a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}

.cta-alt a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.stage {
  position: relative;
  margin-top: 44px;
}

.hero .pill,
.hero h1,
.hero .lead,
.hero .cta,
.hero .cta-note,
.stage,
.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1,
.page-hero h1 {
  animation-delay: 0.06s;
}
.hero .lead,
.page-hero .lead {
  animation-delay: 0.13s;
}
.hero .cta {
  animation-delay: 0.2s;
}
.hero .cta-note {
  animation-delay: 0.26s;
}
.stage {
  animation-delay: 0.32s;
  animation-duration: 1s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Blocks below the first screen wait unseen and rise once they are reached.
   The script takes both classes off again, so nothing can stay hidden. */
.reveal {
  opacity: 0;
}

.reveal.in {
  opacity: 1;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

@media (hover: hover) {
  .tile,
  .fact {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .tile:hover,
  .fact:hover {
    transform: translateY(-3px);
    border-color: var(--line-2);
  }
}

/* ---------------------------------------------------------- app mock-ups */

.mock {
  --m0: #0b0d10;
  --m1: #101317;
  --m2: #161a20;
  --m3: #1d222a;
  --m4: #262c36;
  --ml: #20252d;
  --ml2: #2e3541;
  --mt: #e6e9ee;
  --mt2: #9aa3b2;
  --mt3: #667085;
  --ma: #ff7a45;
  --ma-soft: rgba(255, 122, 69, 0.13);
  --mok: #4bd396;
  color: var(--mt);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}

.mock .icon {
  width: 14px;
  height: 14px;
}

.win {
  overflow: hidden;
  border: 1px solid var(--ml2);
  border-radius: 14px;
  background: var(--m0);
  box-shadow: var(--shadow-win);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ml);
}

.lights {
  display: flex;
  gap: 8px;
}

.lights i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.lights i:nth-child(2) {
  background: #febc2e;
}

.lights i:nth-child(3) {
  background: #28c840;
}

.win-tabs {
  display: flex;
  gap: 4px;
  min-width: 0;
}

.win-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--mt2);
  font-weight: 500;
  white-space: nowrap;
}

.win-tab.active {
  border-color: var(--ml2);
  background: var(--m2);
  color: var(--mt);
}

.win-tab i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mok);
}

.win-body {
  display: flex;
  min-height: 0;
}

.term {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 16px 18px 18px;
  color: #d7dce4;
  font: 400 13px/1.62 var(--mono);
  white-space: pre;
}

.term .g {
  color: #5fd39a;
}
.term .b {
  color: #6ea8ff;
}
.term .y {
  color: #f2c36b;
}
.term .r {
  color: #f2666b;
}
.term .d {
  color: #5b6472;
}
.term .ip {
  color: #c592ff;
}

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-bottom: -0.22em;
  background: var(--ma);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.suggest {
  width: max-content;
  max-width: calc(100% - 4ch);
  margin: 4px 0 0 25ch;
  padding: 4px;
  border: 1px solid var(--ml2);
  border-radius: 10px;
  background: var(--m3);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  font-size: 12px;
  transition: opacity 0.18s, transform 0.18s;
}

.suggest.off {
  opacity: 0;
  transform: translateY(-4px);
}

/* As in the app: what kind of suggestion it is, as an icon; what has been
   typed, marked; what an AI command does, beside it. */
.suggest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  line-height: 26px;
}

.suggest-item .icon {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--mt3);
}

.suggest-item mark {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  color: inherit;
}

.suggest-item em {
  color: var(--mt3);
  font: 400 11.5px/26px var(--mono);
  font-style: normal;
}

.suggest-item.active {
  background: var(--ma-soft);
  color: var(--ma);
}

.suggest-item.active .icon,
.suggest.ai .icon {
  color: var(--ma);
}

.suggest-item.ask span {
  font: 500 12.5px/26px -apple-system, BlinkMacSystemFont, var(--font);
}

.suggest-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  color: var(--mt2);
  font: 400 12px/18px -apple-system, BlinkMacSystemFont, var(--font);
}

.suggest-note .spin {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ml2);
  border-top-color: var(--ma);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.suggest .gone {
  display: none;
}

.win-side {
  flex: none;
  width: 292px;
  overflow: hidden;
  padding: 14px;
  border-left: 1px solid var(--ml);
  background: var(--m1);
}

.side-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--mt);
  font-weight: 600;
}

.side-title .icon {
  color: var(--ma);
}

.snip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--ml);
  border-radius: 9px;
  background: var(--m2);
}

.snip + .snip {
  margin-top: 7px;
}

.snip > div {
  flex: 1;
  min-width: 0;
}

.snip b {
  display: block;
  font-weight: 600;
}

.snip small {
  display: block;
  overflow: hidden;
  color: var(--mt3);
  font: 400 11px/1.5 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--ml2);
  border-radius: 7px;
  background: var(--m3);
  color: var(--mt2);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-btn.go {
  border-color: transparent;
  background: var(--ma);
  color: #1a0d06;
}

.mini-btn .icon {
  width: 11px;
  height: 11px;
}

/* ------------------------------------------- the window that shows itself */

.demo .win-body {
  position: relative;
  display: block;
  height: 444px;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
}

.scene.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

.win-tab .icon {
  width: 12px;
  height: 12px;
  color: var(--mt3);
}

.win-tab.home .icon,
.win-tab.plus .icon {
  width: 14px;
  height: 14px;
  color: inherit;
}

.win-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.win-tool {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--mt2);
  transition: background 0.2s, color 0.2s;
}

.mock .win-tool .icon {
  width: 16px;
  height: 16px;
}

.win-tool.on {
  background: var(--ma-soft);
  color: var(--ma);
}

.win-acct {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  margin-left: 6px;
  padding: 0 4px 0 10px;
  border: 1px solid rgba(75, 211, 150, 0.35);
  border-radius: 999px;
  color: var(--mok);
}

.win-acct b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ma);
  color: #1a0d06;
  font-size: 11px;
}

/* What a click looks like without a pointer on screen. */
.press {
  animation: press 0.55s ease-out;
}

@keyframes press {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.55);
    transform: scale(0.94);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(255, 122, 69, 0);
    transform: scale(1);
  }
}

.suggest.gone {
  display: none;
}

/* the snippets panel beside the terminal */
.win-side .side-title {
  justify-content: space-between;
  font-size: 14px;
}

.win-side .side-title .icon {
  color: var(--mt2);
}

.side-label {
  margin: 14px 0 8px;
  color: var(--mt3);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scard {
  padding: 11px;
  border: 1px solid var(--ml);
  border-radius: 10px;
  background: var(--m2);
}

.scard + .scard {
  margin-top: 8px;
}

.scard b {
  display: block;
  font-weight: 600;
}

.scard code {
  display: block;
  overflow: hidden;
  margin: 7px 0 8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: var(--m0);
  color: var(--mt2);
  font-size: 11px;
  text-overflow: ellipsis;
}

.scard-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* files: two panes, the server's one standing where the terminal stands */
.fm {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 10px;
}

.fm-panes {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}

.fm-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ml);
  border-radius: 11px;
  background: var(--m1);
  transition: border-color 0.25s;
}

.fm-pane.focus {
  border-color: rgba(255, 122, 69, 0.5);
}

.fm-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  color: var(--mt);
  white-space: nowrap;
}

.fm-head b,
.fm-head > .icon {
  transition: color 0.25s;
}

/* The pane the keys act on names itself in the accent colour. */
.fm-pane.focus .fm-head b,
.fm-pane.focus .fm-head > .icon {
  color: var(--ma);
}

.fm-rows {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding-top: 4px;
}

.fm-foot {
  padding: 7px 12px;
  border-top: 1px solid var(--ml);
  color: var(--mt3);
  font-size: 11.5px;
}

/* The row under the cursor is outlined, as in the app. */
.fm .frow.sel {
  background: none;
  box-shadow: inset 0 0 0 1px var(--ma);
  border-radius: 7px;
  color: var(--mt);
  margin: 0 5px;
  padding: 0 7px;
}

.fm .frow.sel .icon {
  color: var(--mt3);
}

.fm-cols span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border: solid var(--ma);
  border-width: 1.5px 0 0 1.5px;
  transform: translateY(1px) rotate(45deg);
}

.fm .for-local,
.fm.local .for-server {
  display: none;
}

.fm.local .for-local {
  display: inline;
}

.fm.local #fm-edit {
  opacity: 0.4;
}

.fm-tools {
  display: flex;
  gap: 12px;
  margin-left: auto;
  color: var(--mt2);
}

.fm-path {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 6px;
  color: var(--mt2);
  white-space: nowrap;
}

.fm-path > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid var(--ml2);
  border-radius: 8px;
  background: var(--m0);
  color: var(--mt);
  font: 400 12px/1.5 var(--mono);
  text-overflow: ellipsis;
}

.fm-path em {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ma-soft);
  color: var(--ma);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}

.mock .fm-path em .icon {
  width: 12px;
  height: 12px;
}

.fm-path.flash > span {
  animation: flash 1.8s ease-out;
}

@keyframes flash {
  0%,
  35% {
    border-color: var(--ma);
    box-shadow: 0 0 0 3px var(--ma-soft);
  }
  100% {
    border-color: var(--ml2);
    box-shadow: 0 0 0 0 transparent;
  }
}

.fm-cols {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-block: 1px solid var(--ml);
  color: var(--mt3);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-cols span {
  flex: 1;
}

.fm .frow small,
.fm-cols small {
  flex: none;
  width: 58px;
  font-size: inherit;
  text-align: right;
}

.fm .frow small {
  font-size: 11.5px;
}

.fm .frow .when,
.fm-cols .when {
  width: 92px;
}

.fm .frow .type,
.fm-cols .type {
  width: 70px;
  text-align: left;
}

.frow.fresh {
  display: none;
}

.frow.fresh.show {
  display: flex;
  animation: fresh 2.2s ease-out;
}

@keyframes fresh {
  0%,
  40% {
    background: rgba(75, 211, 150, 0.16);
  }
  100% {
    background: transparent;
  }
}

.fm-transfer {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 0;
  overflow: hidden;
  padding: 0 6px;
  color: var(--mt);
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  transition: height 0.25s, opacity 0.25s;
}

.fm-transfer.run {
  height: 30px;
  opacity: 1;
}

.fm-transfer > .icon {
  color: var(--mt2);
}

.fm-transfer div {
  flex: 1;
  min-width: 0;
}

.fm-transfer div span:first-child {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-transfer .bar {
  display: block;
  height: 3px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--m4);
}

.fm-transfer .bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--ma);
  transition: width 0.14s linear;
}

.fm-transfer small {
  color: var(--mt2);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.fm-keys {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.key {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 11px 0 5px;
  border: 1px solid var(--ml);
  border-radius: 8px;
  background: var(--m1);
  color: var(--mt);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.key kbd {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--m3);
  color: var(--mt2);
  font: 600 10.5px/1.5 var(--mono);
}

.key.esc {
  margin-left: auto;
}

/* the editor */
.ed {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 10px 0 16px;
  border-bottom: 1px solid var(--ml);
  white-space: nowrap;
}

.ed-head > .icon {
  color: var(--ma);
}

.ed-path {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--mt3);
  font: 400 11.5px var(--mono);
  text-overflow: ellipsis;
}

.ed-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(75, 211, 150, 0.13);
  color: var(--mok);
  font-size: 11.5px;
  font-weight: 600;
}

.ed-chip .is-unsaved,
.ed-chip.unsaved .is-saved {
  display: none;
}

.ed-chip.unsaved {
  background: rgba(242, 189, 75, 0.13);
  color: #f2bd4b;
}

.ed-chip.unsaved .is-unsaved {
  display: inline;
}

.code {
  flex: 1;
  overflow: hidden;
  padding: 14px 0;
  color: #abb2bf;
  font: 400 13px/1.75 var(--mono);
  white-space: pre;
}

.code i {
  display: inline-block;
  width: 46px;
  padding-right: 16px;
  color: var(--mt3);
  font-style: normal;
  text-align: right;
}

.code i.at {
  color: var(--mt);
}

.code .line {
  display: inline-block;
  width: calc(100% - 46px);
  background: rgba(255, 255, 255, 0.04);
}

.code .k {
  color: #c678dd;
}
.code .f {
  color: #61afef;
}
.code .o {
  color: #d19a66;
}
.code .s {
  color: #98c379;
}

.cursor.thin {
  width: 2px;
  margin-left: 1px;
}

/* the steps under the window */
.demo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.demo-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  overflow: hidden;
  padding: 0 17px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

.demo-step:hover {
  color: var(--ink);
}

.demo-step.active {
  border-color: var(--accent-line);
  color: var(--ink);
}

.demo-step.active .icon {
  color: var(--accent);
}

.demo-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
}

.demo-step.active::before {
  transform: none;
}

/* While the scenes play by themselves, the step fills as its time runs. */
.demo-step.active.timed::before {
  animation: step-time var(--time, 7s) linear both;
}

@keyframes step-time {
  from {
    transform: scaleX(0);
  }
}

.demo-step > * {
  position: relative;
}

.demo-caption {
  max-width: 620px;
  min-height: 3.1em;
  margin: 14px auto 0;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.5;
  text-wrap: balance;
}

.demo-caption span {
  display: none;
}

.demo-caption span.active {
  display: block;
  animation: rise 0.4s ease both;
}

/* ----------------------------------------------------------- four facts */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  text-align: left;
}

.fact {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.badge-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-icon .icon {
  width: 21px;
  height: 21px;
}

.fact h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fact p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.5;
}

/* ------------------------------------------------------------- sections */

.section {
  padding: 112px 0 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-head h2,
.h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 19px;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.tile.w7 {
  grid-column: span 7;
}
.tile.w5 {
  grid-column: span 5;
}
.tile.w4 {
  grid-column: span 4;
}

.tile-text {
  padding: 30px 30px 0;
}

.tile h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.tile p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.tile-art {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  margin-top: 26px;
  padding: 0 30px;
  min-height: 0;
}

.tile-art > .mock {
  width: 100%;
  border: 1px solid var(--ml2);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--m0);
  box-shadow: 0 -10px 40px -12px rgba(40, 20, 5, 0.3);
}

.pane {
  padding: 14px;
}

/* hosts */
.find {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-bottom: 10px;
  padding: 0 11px;
  border: 1px solid var(--ml);
  border-radius: 9px;
  background: var(--m1);
  color: var(--mt3);
  white-space: nowrap;
  overflow: hidden;
}

.groups {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.group {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--ml);
  border-radius: 8px;
  background: var(--m1);
  color: var(--mt2);
  font-weight: 500;
  white-space: nowrap;
}

.group.active {
  border-color: rgba(255, 122, 69, 0.42);
  background: var(--ma-soft);
  color: var(--ma);
}

.group small {
  color: var(--mt3);
  font-size: 11px;
}

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

.host {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--ml);
  border-radius: 10px;
  background: var(--m2);
}

.host > div {
  min-width: 0;
}

.os {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--c, #333);
}

.os::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}

.os.ubuntu {
  --c: #e95420;
  --i: url("../img/os/ubuntu.svg");
}
.os.debian {
  --c: #a81d33;
  --i: url("../img/os/debian.svg");
}
.os.alpine {
  --c: #0d597f;
  --i: url("../img/os/alpinelinux.svg");
}
.os.rocky {
  --c: #10b981;
  --i: url("../img/os/rockylinux.svg");
}

.host b {
  display: block;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host small {
  display: block;
  overflow: hidden;
  color: var(--mt3);
  font: 400 11px/1.5 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* files */
.files {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.files > div + div {
  border-left: 1px solid var(--ml);
}

.files-head {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--ml);
  color: var(--mt2);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.files-head small {
  overflow: hidden;
  color: var(--mt3);
  font: 400 11px var(--mono);
  text-overflow: ellipsis;
}

.frow {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  padding: 0 12px;
  white-space: nowrap;
}

.frow span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frow small {
  color: var(--mt3);
  font-size: 11px;
}

.frow .icon {
  color: var(--mt3);
}

.frow.dir .icon,
.frow.up .icon {
  color: var(--ma);
}

.frow.sel {
  background: var(--ma-soft);
  color: var(--ma);
}

.frow.sel .icon {
  color: var(--ma);
}

.transfer {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--ml);
  color: var(--mt2);
  font-size: 12px;
  white-space: nowrap;
}

.transfer .bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--m4);
  overflow: hidden;
}

.transfer {
  animation: upload 8s linear infinite;
}

.transfer .bar::before {
  content: "";
  display: block;
  width: calc(var(--p, 68) * 1%);
  height: 100%;
  border-radius: 3px;
  background: var(--ma);
}

.transfer .pct {
  min-width: 4ch;
  text-align: right;
  counter-reset: p var(--p, 68);
}

.transfer .pct::after {
  content: counter(p) "%";
}

@property --p {
  syntax: "<integer>";
  inherits: true;
  initial-value: 68;
}

@keyframes upload {
  0% {
    --p: 3;
  }
  80%,
  100% {
    --p: 100;
  }
}

/* terminal themes */
.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 30px;
  margin-top: 22px;
}

.theme {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.theme i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: conic-gradient(var(--a) 0 33%, var(--b) 0 66%, var(--c) 0), var(--bgc);
  box-shadow: inset 0 0 0 5px var(--bgc);
}

.term.small {
  font-size: 12px;
  padding: 14px 16px 16px;
}

/* key install, sharing, sync */
.steps {
  padding: 6px 14px 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}

.step + .step {
  border-top: 1px solid var(--ml);
}

.step > div {
  flex: 1;
  min-width: 0;
}

.step b {
  display: block;
  font-weight: 600;
}

.step small {
  display: block;
  overflow: hidden;
  color: var(--mt3);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(75, 211, 150, 0.14);
  color: var(--mok);
}

.state.busy {
  background: var(--ma-soft);
  color: var(--ma);
}

.state.busy .icon {
  animation: spin 1.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ma);
  color: #1a0d06;
  font-size: 12px;
  font-weight: 700;
}

.avatar.two {
  background: #6ea8ff;
}

.avatar.three {
  background: #c592ff;
}

.tag-chip {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ma-soft);
  color: var(--ma);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-chip.quiet {
  background: var(--m3);
  color: var(--mt2);
}

.linkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 14px 4px;
  padding: 8px 10px;
  border: 1px solid var(--ml2);
  border-radius: 9px;
  background: var(--m1);
  color: var(--mt2);
  font: 400 11.5px var(--mono);
  white-space: nowrap;
  overflow: hidden;
}

.linkbox span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.linkbox .icon {
  color: var(--ma);
}

.sync {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px 24px;
}

.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mt2);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.device .box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ml2);
  border-radius: 14px;
  background: var(--m2);
  color: var(--mt);
}

.device .box .icon {
  width: 22px;
  height: 22px;
}

.device.cloud .box {
  border-color: rgba(255, 122, 69, 0.42);
  background: var(--ma-soft);
  color: var(--ma);
}

.wire {
  flex: 1;
  max-width: 64px;
  height: 2px;
  margin-bottom: 24px;
  background: repeating-linear-gradient(90deg, var(--ml2) 0 6px, transparent 6px 12px);
  animation: drift 1.2s linear infinite;
}

.device.cloud .box {
  animation: breathe-mock 3.4s ease-in-out infinite;
}

@keyframes breathe-mock {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 6px var(--ma-soft);
  }
}

.cipher {
  margin: 0 14px;
  padding: 9px 12px;
  border: 1px solid var(--ml);
  border-radius: 9px 9px 0 0;
  border-bottom: 0;
  background: var(--m1);
  color: var(--mt3);
  font: 400 11px/1.6 var(--mono);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cipher .icon {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--mok);
}

/* --------------------------------------------------------- security band */

.vault {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 36px;
  background: #0d0f13;
  color: #eceef2;
  --ink-2: #a3abb8;
  --ink-3: #727b8b;
  --line: #222831;
  --line-2: #2e3541;
  --accent: #ff7a45;
  --accent-soft: rgba(255, 122, 69, 0.12);
  --accent-line: rgba(255, 122, 69, 0.4);
  --ok: #4bd396;
  --card: #14181d;
}

:root[data-theme="dark"] .vault {
  border: 1px solid var(--line);
  background: #101317;
}

.vault::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(255, 122, 69, 0.2), transparent);
  pointer-events: none;
}

.vault-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.vault h2 {
  margin-top: 12px;
}

.vault .lead {
  margin: 18px 0 0;
  font-size: 18.5px;
}

.vault .btn.ghost {
  margin-top: 30px;
  color: #eceef2;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.point {
  display: flex;
  gap: 16px;
}

.point h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.point p {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

/* The path of the data: this Mac, the cloud, your servers. */
.flow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px 0;
  align-items: center;
}

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 132px;
  padding: 18px 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--card);
  text-align: center;
}

.node .icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.node b {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
}

.node small {
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.3;
}

.node.mac {
  grid-row: span 2;
  align-self: stretch;
  justify-content: center;
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.link {
  position: relative;
  padding: 0 14px;
  text-align: center;
}

.link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 6px;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
  animation: drift 1.2s linear infinite;
}

/* A dot that travels the line. On the way to the cloud it goes in plain
   and comes out of the lock sealed. */
.link i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  opacity: 0;
  animation: travel 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.flow .link:nth-child(2) i {
  animation-name: travel-sealed;
}

.flow .link:nth-child(4) i,
.flow .node:nth-child(5) .icon {
  animation-delay: 1.7s;
}

.flow .node:not(.mac) .icon {
  animation: arrive 3.4s ease-in-out infinite;
}

.node.mac {
  animation: breathe 3.4s ease-in-out infinite;
}

@keyframes drift {
  to {
    background-position: 12px 0;
  }
}

@keyframes travel {
  0% {
    left: 0;
    opacity: 0;
  }
  8%,
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 12px);
    opacity: 0;
  }
}

@keyframes travel-sealed {
  0% {
    left: 0;
    opacity: 0;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  8% {
    opacity: 1;
  }
  44% {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  56% {
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(75, 211, 150, 0.16);
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 12px);
    opacity: 0;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(75, 211, 150, 0.16);
  }
}

@keyframes arrive {
  0%,
  86%,
  100% {
    transform: scale(1);
  }
  95% {
    transform: scale(1.2);
  }
}

@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 5px var(--accent-soft);
  }
}

.link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 9px;
  border: solid var(--ink-3);
  border-width: 2px 2px 0 0;
  transform: translateY(calc(-50% + 1px)) rotate(45deg);
}

.link > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
}

.link .icon {
  width: 14px;
  height: 14px;
  color: var(--ok);
}

/* -------------------------------------------------------------- pricing */

.plans {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.plan {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.plan.now {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 55%), var(--card);
}

.plan.later {
  border-style: dashed;
  border-color: var(--line-2);
  background: none;
  box-shadow: none;
}

.plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-weight: 600;
}

.chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 13px;
  font-weight: 650;
}

.chip.quiet {
  background: var(--bg-2);
  color: var(--ink-2);
}

.price {
  margin-top: 14px;
  font-size: 46px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.plan > p:not(.price) {
  margin-top: 10px;
  color: var(--ink-2);
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.ticks li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
}

.ticks .icon {
  margin-top: 3px;
  color: var(--ok);
}

/* ------------------------------------------------------------------ faq */

.faq {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary .icon {
  color: var(--ink-3);
  transition: transform 0.2s;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq details p {
  padding: 0 44px 24px 4px;
  color: var(--ink-2);
  text-wrap: pretty;
}

.faq a,
.prose a {
  color: var(--accent);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------ final cta */

.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 112px;
  padding: 72px 24px;
  border-radius: 36px;
  background:
    radial-gradient(520px 260px at 50% 0%, var(--glow), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  text-align: center;
}

/* Dots the pointer pushes apart, drawn by the page script; they fade out
   towards the card's edges. */
.final .dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 40%, transparent 100%);
}

.final img {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 14px 22px rgba(60, 30, 10, 0.25));
}

.final p {
  max-width: 600px;
  margin: 14px auto 0;
  color: var(--ink-2);
  font-size: 18.5px;
}

.site-foot {
  margin-top: 72px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14.5px;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.site-foot .brand {
  color: var(--ink);
  font-size: 16px;
}

.site-foot .brand img {
  width: 26px;
  height: 26px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-right: auto;
}

.foot-links a:hover {
  color: var(--ink);
}

/* ------------------------------------------------------- security page */

.page-hero {
  position: relative;
  padding: 72px 0 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -68px 0 auto;
  height: 620px;
  z-index: -1;
  background: radial-gradient(700px 340px at 30% 200px, var(--glow), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 700px;
  margin-left: 0;
}

.tldr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tldr li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
}

.tldr .badge-icon {
  margin-bottom: 14px;
}

.doc {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  margin-top: 88px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  font-size: 15px;
}

.toc b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 6px 12px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  line-height: 1.35;
  transition: color 0.15s, border-color 0.15s;
}

.toc a:hover,
.toc a.active {
  border-left-color: var(--accent);
  color: var(--ink);
}

.prose {
  max-width: 760px;
}

.prose section + section {
  margin-top: 72px;
}

.prose h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 3vw, 31px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.prose h2 .badge-icon {
  flex: none;
}

.prose p {
  margin-top: 16px;
  color: var(--ink-2);
  text-wrap: pretty;
}

.prose p b,
.prose li b {
  color: var(--ink);
  font-weight: 650;
}

.prose .flow {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg-2);
}

.bullets {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.sees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.sees > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--card);
}

.sees h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  font-weight: 700;
}

.sees .yes h3 .icon {
  color: var(--ink-3);
}

.sees .no {
  border-color: rgba(26, 143, 87, 0.3);
  background: linear-gradient(180deg, var(--ok-soft), transparent 70%), var(--card);
}

.sees .no h3 .icon {
  color: var(--ok);
}

.sees ul {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
}

.sees li small {
  display: block;
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
}

.prose h3.sub {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* One record as the device has it and as the server has it. */
.twins {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.twin {
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--card);
}

.twin figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 650;
}

.twin figcaption .icon {
  color: var(--accent);
}

.twin.sealed {
  border-color: rgba(26, 143, 87, 0.3);
}

.twin.sealed figcaption .icon {
  color: var(--ok);
}

.kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 18px;
  margin: 0;
  padding: 16px 18px 18px;
  font: 400 13px/1.55 var(--mono);
}

.kv dt {
  color: var(--ink-3);
}

.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.kv dd.dim {
  color: var(--ink-3);
}

.kv dd span {
  white-space: nowrap;
  color: var(--ok);
}

.twin-lock {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  animation: breathe-ok 3.4s ease-in-out infinite;
}

@keyframes breathe-ok {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 6px var(--ok-soft);
  }
}

.prose p.caption {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 15px;
}

/* The legal links, a quieter row beside the main ones. */
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
}

.foot-legal a {
  color: var(--ink-3);
  transition: color 0.15s;
}

.foot-legal a:hover {
  color: var(--ink);
}

/* Small print: sources, conditions, trademarks. */
.prose p.caption.fine,
.site-foot .fine {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

.prose p.caption.fine {
  margin-top: 10px;
}

.prose p.caption.fine a {
  color: inherit;
  font-weight: inherit;
  text-decoration-color: currentColor;
}

.kdf {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 24px;
}

.kdf > div {
  flex: 1 1 180px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.kdf b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15.5px;
}

.kdf .stays {
  border-color: rgba(26, 143, 87, 0.3);
}

.kdf small {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 12.5px;
  font-weight: 650;
}

.kdf .stays small {
  background: var(--ok-soft);
  color: var(--ok);
}

.limits {
  padding: 30px;
  border: 1px solid var(--warn-line);
  border-radius: var(--r-xl);
  background: var(--warn-soft);
}

.limits h2 .badge-icon {
  background: var(--warn-soft);
  color: var(--warn);
}

.limits .bullets li::before {
  background: var(--warn);
}

.note {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 16px;
}

/* ----------------------------------------------------------- comparison */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}

.pick {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.pick.mine {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--card);
}

.pick h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pick h2 img {
  width: 34px;
  height: 34px;
}

.pick .ticks {
  margin: 20px 0 0;
}

.pick.theirs .ticks .icon {
  color: var(--ink-3);
}

.compare-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.45;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.compare thead th {
  border-top: 0;
  background: var(--bg-2);
  font-size: 15px;
  font-weight: 700;
}

.compare thead th:nth-child(2) {
  color: var(--accent);
}

.compare tbody th {
  width: 26%;
  color: var(--ink);
  font-weight: 650;
}

.compare td {
  width: 37%;
  color: var(--ink-2);
}

.compare td .mark {
  float: left;
  width: 16px;
  height: 16px;
  margin: 3px 8px 0 0;
}

.compare .mark.yes {
  color: var(--ok);
}

.compare .mark.part {
  color: var(--warn);
}

.compare .mark.no {
  color: var(--ink-3);
}

.compare td span {
  display: block;
  overflow: hidden;
}

.bench {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15.5px;
}

.bench th,
.bench td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.bench thead th {
  border-top: 0;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
}

.bench tbody th {
  font-weight: 650;
}

/* Under each measurement a bar, scaled to the largest in its column. */
.bench .meter {
  display: block;
  height: 5px;
  margin-top: 8px;
  max-width: 220px;
  border-radius: 99px;
  background: var(--bg-2);
  overflow: hidden;
}

.bench .meter b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink-3);
  transform: scaleX(var(--w));
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bench tr.mine .meter b {
  background: var(--ember);
}

.bench.waiting .meter b {
  transform: scaleX(0);
}

/* The same columns in every measurement table, so they line up. */
.bench th:first-child {
  width: 24%;
}

.bench td {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bench tr.mine th,
.bench tr.mine td {
  color: var(--ink);
}

.bench tr.mine th {
  color: var(--accent);
}

.steps-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding-left: 44px;
  color: var(--ink-2);
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 700;
}

.prose .faq {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .verdict {
    grid-template-columns: 1fr;
  }
  .pick {
    padding: 24px;
  }
  /* Each row becomes a card: what is compared, then the two answers. */
  .compare {
    min-width: 0;
  }
  .compare thead {
    display: none;
  }
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }
  .compare tbody tr + tr {
    border-top: 1px solid var(--line);
  }
  .compare th,
  .compare td {
    border-top: 0;
  }
  .compare tbody th {
    width: auto;
    padding: 16px 16px 4px;
  }
  .compare td {
    padding: 4px 16px;
  }
  .compare td:last-child {
    padding-bottom: 16px;
  }
  .compare td::before {
    content: attr(data-col);
    float: left;
    width: 72px;
    color: var(--ink-3);
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.7;
  }
}

/* -------------------------------------------------------- download page */

/* Parts meant for one system: on-mac, on-win, on-other. The head script
   names the visitor's system; without it the page is the Mac one. */
:root:not([data-os="win"]):not([data-os="other"]) .os-only:not(.on-mac),
:root[data-os="win"] .os-only:not(.on-win),
:root[data-os="other"] .os-only:not(.on-other) {
  display: none;
}

.dl-hero {
  padding-top: 64px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.platform h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.platform p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.platform .btn {
  margin-top: 26px;
}

.platform small {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.platform.later {
  border-style: dashed;
  border-color: var(--line-2);
  background: none;
  box-shadow: none;
}

.platform.later .badge-icon {
  background: var(--bg-2);
  color: var(--ink-3);
}

.platform .chip {
  margin-top: auto;
}

.platform.later p {
  margin-bottom: 26px;
}

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

.install-col {
  padding: 32px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.install-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.install-col h3 .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.install-steps {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  counter-reset: step;
}

.install-steps li {
  position: relative;
  padding-left: 44px;
  counter-increment: step;
}

.install-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.install-steps b {
  display: block;
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.7;
}

.install-steps span {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.install-steps code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.install-note {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid var(--warn-line);
  border-radius: var(--r);
  background: var(--warn-soft);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.release {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 18px;
  padding: 30px 34px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--accent-soft), transparent 60%), var(--card);
  box-shadow: var(--shadow-card);
}

.release-ver small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-ver b {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.release-ver span {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.release-files {
  display: grid;
  gap: 10px;
  margin: 0;
}

.release-files div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.release-files dt {
  font-weight: 650;
}

.release-files dd {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  margin: 0;
  min-width: 0;
}

.release-files code {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-files span {
  color: var(--ink-2);
  font-size: 15px;
  white-space: nowrap;
}

.facts.dl-facts {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

@media (max-width: 1020px) {
  .platforms {
    grid-template-columns: 1fr 1fr;
  }
  .platform.later {
    grid-column: span 2;
  }
  .install,
  .release {
    grid-template-columns: 1fr;
  }
  .release {
    gap: 22px;
  }
  .facts.dl-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dl-hero {
    padding-top: 36px;
  }
  .platforms {
    grid-template-columns: 1fr;
  }
  .platform.later {
    grid-column: auto;
  }
  .install-col,
  .release {
    padding: 24px 20px;
  }
  .release-files div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .facts,
  .tldr {
    grid-template-columns: 1fr 1fr;
  }
  .tile.w7,
  .tile.w5 {
    grid-column: span 12;
  }
  .tile.w4 {
    grid-column: span 6;
  }
  .tile.w4:last-child {
    grid-column: span 12;
  }
  .vault {
    padding: 44px;
  }
  .vault-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 64px;
  }
  .toc {
    display: none;
  }
}

@media (max-width: 1020px) {
  .fm .type,
  .key.f2,
  .key.f7 {
    display: none;
  }
}

@media (max-width: 860px) {
  .win-side,
  .fm .when,
  .fm-path em span,
  .win-acct,
  .win-tool[data-tool="search"] {
    display: none;
  }
  .fm-path em {
    padding: 5px;
  }
  .nav {
    display: none;
  }
  .head-tools {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16.5px;
  }
  .wrap {
    padding: 0 16px;
  }
  .site-head {
    padding: 8px 8px 0;
  }
  .site-head .wrap {
    gap: 10px;
    height: 60px;
    padding: 0 8px 0 14px;
    border-radius: 20px;
  }
  .brand span {
    display: none;
  }
  .hero {
    padding-top: 24px;
  }
  .btn {
    height: 52px;
    padding: 0 22px;
  }
  .cta .btn {
    width: 100%;
  }
  .stage {
    margin-top: 44px;
  }
  .win-tab:nth-child(3),
  .win-tab.plus,
  .win-tab.home span,
  .key:not(#fm-copy):not(.esc),
  .ed-path {
    display: none;
  }
  .ed-chip {
    margin-left: auto;
  }
  .demo .win-body {
    height: 356px;
  }
  .win-bar {
    gap: 10px;
  }
  .fm {
    padding: 8px;
  }
  .fm-panes {
    gap: 6px;
  }
  .fm .frow,
  .fm-head {
    padding: 0 8px;
  }
  .fm .frow small {
    width: auto;
    font-size: 10.5px;
  }
  .fm-cols small {
    display: none;
  }
  .fm-path {
    margin: 0 6px 6px;
    gap: 5px;
  }
  .fm-tools {
    gap: 8px;
  }
  .fm-tools .icon:first-child:not(:only-child) {
    display: none;
  }
  .code {
    font-size: 10.5px;
  }
  .code i {
    width: 30px;
    padding-right: 10px;
  }
  .code .line {
    width: calc(100% - 30px);
  }
  .demo-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .demo-step {
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    font-size: 14.5px;
  }
  .fm .frow {
    height: 25px;
  }
  .fm-cols,
  .fm-foot {
    display: none;
  }
  .fm-transfer small {
    font-size: 10.5px;
  }
  .demo-caption {
    min-height: 4.6em;
    font-size: 15.5px;
  }
  .term {
    padding: 12px;
    font-size: 10.5px;
  }
  .suggest {
    margin-left: 6ch;
    font-size: 10.5px;
  }
  .facts {
    margin-top: 44px;
    gap: 12px;
  }
  .fact {
    padding: 18px;
  }
  .section {
    padding-top: 80px;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .section-head p:not(.eyebrow) {
    font-size: 17.5px;
  }
  .tile.w4 {
    grid-column: span 12;
  }
  .tile-text {
    padding: 24px 22px 0;
  }
  .tile-art {
    padding: 0 22px;
  }
  .themes {
    padding: 0 22px;
  }
  .hosts {
    grid-template-columns: 1fr 1fr;
  }
  .hosts .host:nth-child(n + 5) {
    display: none;
  }
  .vault {
    padding: 30px 20px;
    border-radius: 28px;
  }
  .points {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding-top: 32px;
  }
  .node {
    width: 96px;
    padding: 14px 6px 12px;
    border-radius: 16px;
  }
  .node b {
    font-size: 13.5px;
  }
  .node small {
    display: none;
  }
  .link {
    padding: 0 8px;
  }
  .link > span {
    padding: 5px 8px;
    border-radius: 12px;
    font-size: 11.5px;
  }
  .link > span .icon {
    display: none;
  }
  .prose .flow {
    padding: 16px 12px;
  }
  .plans,
  .sees {
    grid-template-columns: 1fr;
  }
  .twins {
    grid-template-columns: minmax(0, 1fr);
  }
  .twin-lock {
    justify-self: center;
  }
  .plan {
    padding: 26px 22px;
  }
  .final {
    margin-top: 80px;
    padding: 52px 20px;
    border-radius: 28px;
  }
  .page-hero {
    padding-top: 44px;
  }
  .tldr {
    gap: 12px;
    margin-top: 36px;
  }
  .tldr li {
    padding: 16px;
    font-size: 15px;
  }
  .prose section + section {
    margin-top: 56px;
  }
  .limits {
    padding: 22px 18px;
  }
  .faq summary {
    font-size: 17.5px;
  }
  .faq details p {
    padding-right: 8px;
  }
}

@media (max-width: 420px) {
  .facts {
    grid-template-columns: 1fr;
  }
  .files-head small,
  .frow small {
    display: none;
  }
}

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

/* -------------------------------------------------------------- pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.plan-card.pro {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--accent-line) inset;
}

.plan-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.plan-price b {
  color: var(--ink);
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.plan-price s {
  margin: 0 4px;
  font-size: 18px;
}

.plan-for {
  min-height: 24px;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
}

.plan-intro {
  color: var(--accent);
  font-weight: 600;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.45;
}

.plan-card li .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.plan-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.plan-how {
  margin-top: auto;
  color: var(--ink-2);
  font-size: 14.5px;
}

.plans-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan-card li.off {
  color: var(--ink-3);
}

.plan-card li.off .icon {
  color: var(--ink-3);
}

.plans-why {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 858px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
}

.plans-why > .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--accent);
}

.plans-why h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plans-why p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

/* The "in short" note on the legal pages: first in the column, so no top
   margin, and a clear gap before the first section heading. */
.prose > .legal-note {
  margin: 0 0 56px;
}

/* ------------------------------------------- the demo's home: hosts and load */

.demo.at-home .win-tool,
.demo.at-home .win-tab.plus {
  visibility: hidden;
}

.dh-side {
  flex: none;
  width: 196px;
  padding: 12px 10px;
  border-right: 1px solid var(--ml);
  background: var(--m1);
}

.dh-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--mt2);
  font-weight: 500;
  white-space: nowrap;
}

.dh-nav .icon {
  width: 15px;
  height: 15px;
}

.dh-nav small {
  margin-left: auto;
  color: inherit;
  font-size: 11.5px;
}

.dh-nav.on {
  background: var(--ma-soft);
  color: var(--ma);
}

.dh-main {
  flex: 1;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.dh-main .find {
  max-width: 340px;
  margin-bottom: 16px;
}

.dh-label {
  margin: 0 0 10px 2px;
  color: var(--mt3);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dh-label small {
  margin-left: 4px;
  font-size: inherit;
}

.dh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}

.dh-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 11px 12px 0;
  border: 1px solid var(--ml);
  border-radius: 12px;
  background: var(--m2);
}

.dh-card > div:not(.dh-foot) {
  flex: 1;
  min-width: 0;
}

.dh-card b {
  display: block;
  font-weight: 600;
}

.dh-card small {
  display: block;
  overflow: hidden;
  color: var(--mt3);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dh-card .os {
  position: relative;
}

/* Whether the server answered the last look. */
.dh-card .os i {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--m2);
  border-radius: 50%;
  background: var(--mok);
}

.dh-card .os i.down {
  background: #f2595e;
}

.dh-foot {
  flex: 0 0 calc(100% + 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 34px;
  margin: 0 -12px;
  padding: 7px 12px 8px;
  border-top: 1px solid var(--ml);
  color: var(--mt2);
  font: 400 11px/1.3 var(--font);
  font-variant-numeric: tabular-nums;
}

.dh-foot.quiet {
  display: block;
  color: var(--mt3);
}

.dh-gauge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dh-gauge > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dh-gauge .icon {
  width: 11px;
  height: 11px;
  color: var(--mt3);
}

.dh-gauge > i {
  height: 2px;
  border-radius: 2px;
  background: var(--ml2);
  overflow: hidden;
}

.dh-gauge > i b {
  display: block;
  height: 100%;
  background: var(--mt3);
  transition: width 0.6s ease;
}

.dh-gauge.warn > span {
  color: #f2bd4b;
}

.dh-gauge.warn > i b {
  background: #f2bd4b;
}

.dh-gauge.bad > span {
  color: #f2595e;
}

.dh-gauge.bad > i b {
  background: #f2595e;
}

@media (max-width: 860px) {
  .dh-side {
    display: none;
  }
}

@media (max-width: 700px) {
  .dh-main {
    padding: 10px;
  }
  .dh-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .dh-card:nth-child(n + 4) {
    display: none;
  }
}

/* The AI tile: its answers under the line, as in the app; a risky one marked. */
.tile-suggest {
  margin: 8px 0 0 2ch;
  max-width: calc(100% - 2ch);
  white-space: nowrap;
}

.tile-suggest .suggest-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggest-item.risky .icon,
.suggest-item.risky em {
  color: #f2595e;
}

/* The local terminal tile: a strip of tabs over the shell. */
.mini-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px 0;
}

.mini-tabs .win-tab {
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
}

.mini-tabs .win-tab .icon {
  width: 13px;
  height: 13px;
}
