/* home-ssh.css: the home page's page 3, "SSH into any machine in one click" (#ssh, 2026-11-23, CMY-156). One page
 * between #benchmarks and #why (home.css), fitting it at every size like home-why.css: the copy (left) beside a
 * small terminal window (right), one column under 861px. The terminal is plain text in the site's mono font, no
 * image. Short windows drop the terminal first, so the copy always fits (the no-scroll gate checks every page). */
.ss-in {
  height: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(12px, 3vh, 40px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px);
  align-items: center; align-content: safe center; min-width: 0;
}
.ss-copy { display: grid; gap: clamp(8px, 1.6vh, 14px); justify-items: start; min-width: 0; }
.ss-copy h2 { margin: 0; font-size: clamp(20px, min(3vw, 4.4vh), 34px); line-height: 1.12; letter-spacing: -.05em; }
.ss-copy p { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); text-wrap: pretty; }
.ss-copy .eyebrow { font-size: 12px; }
.ss-list { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(4px, 1vh, 8px); max-width: 48ch; }
.ss-list li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.ss-list li::before { content: "›"; position: absolute; left: 2px; color: var(--muted-foreground); }
.ss-list code { font: inherit; font-weight: 600; }

/* ---------- the terminal: a window bar with three dots, then three lines of mono text ---------- */
.ss-term {
  margin: 0; min-width: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow);
}
.ss-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #ffffff1a; }
.ss-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ffffff33; }
.ss-bar span { margin-left: 8px; font-size: 11px; color: #a1a1aa; }
.ss-term pre {
  margin: 0; padding: clamp(12px, 2.4vh, 20px) 16px; font: inherit; font-size: 13px; line-height: 1.7;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.ss-dim { color: #a1a1aa; }
.ss-caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: currentColor; }
@media (prefers-reduced-motion: no-preference) { .ss-caret { animation: ss-blink 1.1s steps(1) infinite; } }
@keyframes ss-blink { 50% { opacity: 0; } }

/* ---------- narrow: one column, centred like page 1 (home.css) ---------- */
@media (max-width: 860px) {
  .ss-in { grid-template-columns: minmax(0, 560px); justify-content: center; gap: clamp(12px, 2.4vh, 24px); }
}
@media (max-width: 600px) {
  .ss-in { padding-top: 8px; padding-bottom: 8px; }
  .ss-copy { gap: 8px; }
  .ss-copy p { font-size: 13px; line-height: 1.5; }
  .ss-copy .eyebrow { display: none; }
  .ss-term pre { font-size: 12px; }
}
/* short windows: the terminal goes first (the copy says the same thing in words) */
@media (max-height: 620px) { .ss-term { display: none; } }
@media (max-width: 860px) and (max-height: 760px) { .ss-term { display: none; } }
