/* SSH Connect : Secure — marketing site
   Built around the app's own chrome: a macOS-style terminal window
   (traffic-light dots + a ">_" glyph) is the app icon, so every section
   here is framed as a "window" instead of a generic card. */

:root {
  --bg: #08090a;
  --surface: #111213;
  --surface-raised: #17181a;
  --bar: #141516;
  --hairline: #212223;
  --hairline-hi: #2e3031;
  --row-hairline: #1b1c1d;
  --text: #e6e9e8;
  --text-secondary: #9a9d9c;
  --text-tertiary: #5f6866;
  --accent: #e93a4e;
  --accent-soft: #ff6f7a;
  --accent-dim: rgba(233, 58, 78, 0.14);
  --accent-glow: rgba(233, 58, 78, 0.12);
  --white: #ffffff;

  --tl-red: #ff5f57;
  --tl-gray: #3a3a3c;
  --tl-green: #28c840;

  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, ui-monospace, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 20px;

  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  background-image: radial-gradient(
    circle at 16% 0%,
    var(--accent-glow),
    transparent 42%
  );
  background-attachment: fixed;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
code {
  font-family: var(--mono);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--mono);
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14.5px;
}
.brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.brand .colon {
  color: var(--accent);
}
.brand .sub {
  color: var(--text-tertiary);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.nav-links a::before {
  content: "~/";
  color: var(--text-tertiary);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nav-cta:hover {
  background: #d12e42;
}

/* ---------- Window chrome (the core motif) ---------- */
.win {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bar);
  border-bottom: 1px solid var(--hairline);
}
.win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.win-dot.r {
  background: var(--tl-red);
}
.win-dot.g {
  background: var(--tl-gray);
}
.win-dot.gr {
  background: var(--tl-green);
}
.win-title {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
}
.win-body {
  padding: 22px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 18px;
}
h1 .cursor {
  color: var(--accent);
}
.lede {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 470px;
  margin: 0 0 32px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13.5px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: #d12e42;
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--hairline);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--hairline-hi);
}
.store-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.stat-strip {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat-strip div {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
}
.stat-strip strong {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  color: var(--text);
}

/* Hero device: real screenshot inside the app's own window chrome */
.device {
  position: relative;
}
.glow-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: 6%;
  right: -12%;
  z-index: -1;
  filter: blur(6px);
}
.device-win {
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
}
.device-win .win-body {
  padding: 0;
  line-height: 0;
}
.device-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
  margin-top: 16px;
}
.device-caption .status {
  color: var(--accent);
}

/* ---------- Sections ---------- */
section {
  padding: 80px 0;
}
.section-head {
  max-width: 620px;
  margin: 0 0 44px;
}
.prompt-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.prompt-tag::before {
  content: "$ ";
  color: var(--text-tertiary);
}
h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.section-head p {
  font-family: var(--sans);
  color: var(--text-secondary);
  font-size: 15.5px;
  margin: 0;
}

/* Feature windows */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature .win-body {
  padding: 20px 22px 24px;
}
.feature h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.feature p {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.feature:hover {
  border-color: var(--hairline-hi);
}

/* Security band */
.security {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.security-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.security-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.security-item .mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.security-item div p {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
}
.security-item div strong {
  font-size: 14.5px;
  font-weight: 600;
}

.readout {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 20px;
  line-height: 2;
}
.readout .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--row-hairline);
}
.readout .row:last-of-type {
  border-bottom: none;
}
.readout .k {
  color: var(--text);
}
.readout .v {
  color: var(--text-tertiary);
  text-align: right;
}
.readout .v.on {
  color: var(--accent);
}
.readout .sub {
  color: var(--text-tertiary);
  font-size: 11px;
  display: block;
  margin-top: 2px;
}
.readout .foot {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--hairline);
  color: var(--text-tertiary);
  font-size: 11px;
  text-align: center;
  line-height: 1.7;
}

/* Screens showcase — real screenshots, framed like the app's own windows */
.tab-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tab-bar span {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.tab-bar span.active {
  color: var(--accent);
  border-color: var(--hairline-hi);
  background: var(--accent-dim);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.showcase-shot .win-body {
  padding: 0;
  line-height: 0;
}
.showcase-caption {
  margin-top: 12px;
}
.showcase-caption h4 {
  font-size: 13px;
  margin-bottom: 3px;
}
.showcase-caption p {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
  margin: 0;
}
.authenticity-note {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: center;
}

/* FAQ */
.faq-body {
  padding: 6px 22px 10px;
}
.faq-body details {
  border-bottom: 1px solid var(--row-hairline);
  padding: 18px 0;
}
.faq-body details:last-of-type {
  border-bottom: none;
}
.faq-body summary {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-body summary::-webkit-details-marker {
  display: none;
}
.faq-body summary::before {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  width: 14px;
  flex: none;
}
.faq-body details[open] > summary::before {
  content: "\2212";
}
.faq-body summary code {
  font-family: var(--mono);
  color: var(--text);
}
.faq-body details p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 12px 0 0 24px;
}
.faq-body details p code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1px 5px;
}

/* Store cards */
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 0;
  text-align: left;
}
.store-card .win-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.store-card .platform {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-card .platform svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--text);
}
.store-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.store-card p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}
.store-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* CTA band */
.cta-band .win-body {
  text-align: center;
  padding: 52px 32px;
}
.cta-band h2 {
  margin-bottom: 10px;
}
.cta-band p {
  font-family: var(--sans);
  color: var(--text-secondary);
  margin: 0 0 8px;
}

/* Footer */
footer {
  border-top: 1px solid var(--hairline);
  padding: 44px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
}
.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--row-hairline);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Legal pages */
.legal-head {
  padding: 116px 0 36px;
  border-bottom: 1px solid var(--hairline);
}
.legal-head h1 {
  font-size: 30px;
  margin-bottom: 8px;
}
.legal-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.legal-body {
  padding: 52px 0 100px;
  max-width: 720px;
}
.legal-body h2 {
  font-size: 17px;
  margin: 38px 0 12px;
  font-family: var(--mono);
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p,
.legal-body li {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal-body ul {
  padding-left: 20px;
}
.legal-body li {
  margin-bottom: 8px;
}
.legal-body strong {
  color: var(--text);
}
.legal-body a {
  color: var(--accent);
}
.legal-body code {
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 1px 5px;
}
.callout .win-body {
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
}
.callout p {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  font-size: 13.5px;
}
.callout {
  margin: 24px 0;
}
.toc {
  margin-bottom: 8px;
}
.toc .win-body {
  padding: 18px 20px;
}
.toc div {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  font-family: var(--sans);
  font-size: 13.5px;
}
.toc li {
  margin-bottom: 6px;
}
.toc a {
  color: var(--text-secondary);
}
.toc a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  h1 {
    font-size: 32px;
  }
  .device {
    margin-top: 8px;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
}
