/* SSH Flow — logocode.dev/sshflow/. Same tokens as the app: deep navy, indigo accent, Siri purple-pink. */
:root {
  --bg: #f6f7fb;
  --bg-alt: #eceef7;
  --card: #ffffff;
  --ink: #141a2e;
  --muted: #5a6280;
  --line: #dde1ee;
  --accent: #4f46e5;
  --accent-ink: #ffffff;
  --accent-soft: #e4e3fc;
  --siri-a: #a855f7;
  --siri-b: #ec4899;
  --ok: #16a34a;
  --warn: #ea580c;
  --code-bg: #0e1424;
  --code-ink: #e6e9f5;
  --shadow: 0 24px 50px -24px rgba(20, 26, 60, .45);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020; --bg-alt: #111831; --card: #151d36; --ink: #eef0fa; --muted: #a3abc8;
    --line: #26304f; --accent: #6366f1; --accent-ink: #ffffff; --accent-soft: #232a55;
    --ok: #4ade80; --warn: #fb923c; --code-bg: #070b17;
    --shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1020; --bg-alt: #111831; --card: #151d36; --ink: #eef0fa; --muted: #a3abc8;
  --line: #26304f; --accent: #6366f1; --accent-ink: #ffffff; --accent-soft: #232a55;
  --ok: #4ade80; --warn: #fb923c; --code-bg: #070b17;
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 600;
         font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a.plain { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.navlinks a.plain:hover { color: var(--ink); }
@media (max-width: 680px) { .navlinks a.plain { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink);
       text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 0;
       box-shadow: 0 8px 20px -10px var(--accent); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px var(--accent); }
.btn.small { padding: 8px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--line); }
.btn.soon { background: var(--accent-soft); color: var(--ink); box-shadow: none; cursor: default; }
.btn.soon:hover { transform: none; }

/* Hero */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--siri-a) 26%, transparent), transparent 70%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; position: relative; }
.hero .wrap > *, .feature > * { min-width: 0; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.fineprint { color: var(--muted); font-size: .9rem; }
.say { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--card); border: 1.5px solid transparent; margin-bottom: 20px;
  background-image: linear-gradient(var(--card), var(--card)), linear-gradient(120deg, var(--siri-a), var(--siri-b));
  background-origin: border-box; background-clip: padding-box, border-box; font-weight: 600; max-width: 100%; flex-wrap: wrap; row-gap: 2px; }
.mic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--siri-a), var(--siri-b)); color: #fff; }
.say .then { color: var(--muted); font-weight: 500; }

.phone { max-width: 330px; margin: 0 auto; border-radius: 44px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); }
.phone.small { max-width: 290px; border-radius: 38px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px; }
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: .8fr 1.2fr; }
  .feature.flip .media { order: 2; }
  .feature.flip { grid-template-columns: 1.2fr .8fr; }
}
.feature ul { padding-left: 1.1em; margin: 0 0 1em; }
.feature li { margin-bottom: .35em; }
.center { text-align: center; max-width: 44em; margin: 0 auto 36px; }

.grid3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent); }

pre.code { background: var(--code-bg); color: var(--code-ink); border-radius: 16px; padding: 18px 20px; overflow-x: auto;
  font: 14px/1.6 "JetBrains Mono", ui-monospace, Menlo, monospace; margin: 0 0 1em; border: 1px solid var(--line); }
pre.code .d { color: #c4b5fd; }
pre.code .c { color: #7c86a8; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: .7em 0 0; }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
.doc h2 { font-size: 1.4rem; margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
