/* Cheetah landing — Letra-inspired marketing page (scoped; does not alter hub styles) */

:root {
  --ink: #0a0a0a;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --chip: #ececee;
  --chip-text: #3a3a3c;
  --panel: #d9ecff;
  --panel-deep: #b9dbff;
  --brand: #2f5bea;
  --brand-deep: #2445d8;
  --sky: #9fd3ff;
  --white: #ffffff;
  --surface: #ffffff;
  --page: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 24px 80px rgba(20, 40, 120, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: "Inter", "InterVariable", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --nav-h: 58px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #f5f5f7;
  --ink-soft: #d2d2d7;
  --muted: #98989d;
  --chip: #2c2c2e;
  --chip-text: #d2d2d7;
  --panel: #1a2744;
  --panel-deep: #243356;
  --page: #0c0c0d;
  --surface: #161618;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body.landing {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01" on, "cv01" on;
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(760px, calc(100% - 2.5rem)); }

/* ——— Floating pill nav ——— */
.pill-nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1rem;
  transform: none;
  margin: 0;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(920px, 100%);
  height: var(--nav-h);
  padding: 0 0.55rem 0 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 20, 0.92);
  color: #fff;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.pill-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.pill-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.pill-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}
.pill-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.pill-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.pill-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  background: #fff;
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
}
.pill-cta:hover { filter: brightness(0.96); }

.apple-mark { display: block; }

.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
}
.nav-burger span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
}

/* Light/dark toggle */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 999px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 0; cursor: pointer;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.16); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ——— Hero (Orcylo-style split) ——— */
.hero {
  position: relative;
  padding: 7rem 0 3.5rem;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(47, 91, 234, 0.14), transparent 55%),
    radial-gradient(70% 50% at 10% 0%, rgba(157, 211, 255, 0.35), transparent 50%),
    radial-gradient(60% 40% at 50% 100%, rgba(47, 91, 234, 0.06), transparent 60%),
    var(--page);
  color: var(--ink);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 40, 80, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
  opacity: 0.7;
}
html[data-theme="dark"] .hero{
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(47, 91, 234, 0.28), transparent 55%),
    radial-gradient(70% 50% at 10% 0%, rgba(47, 91, 234, 0.16), transparent 50%),
    var(--page);
}
html[data-theme="dark"] .hero::before{
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 2.75rem 2.25rem;
  align-items: center;
  width: 100%;
}

.hero-copy {
  text-align: left;
  max-width: 36rem;
  justify-self: start;
}
.hero-visual {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.new-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 91, 234, 0.12);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.kicker-text { font-weight: 500; color: var(--ink-soft); }

.hero-title {
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: var(--ink);
}
.hero-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
}
.hero-line-text {
  min-width: 0;
  display: inline;
}
.hero-line-end {
  margin-top: 0.25rem;
  font-weight: 800;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 40, 80, 0.16);
}
.icon-tile svg {
  width: 16px;
  height: 16px;
  display: block;
}
.tile-mac { background: linear-gradient(145deg, #5b7cfa, #2f5bea); }
.tile-linux { background: linear-gradient(145deg, #3dd68c, #1a9f5c); }
.tile-bolt { background: linear-gradient(145deg, #ffb020, #f08200); color: #1a1a1c; }

.accent-underline {
  background: linear-gradient(180deg, transparent 62%, rgba(47, 91, 234, 0.35) 62%, rgba(47, 91, 234, 0.35) 92%, transparent 92%);
}

.hero-lede {
  margin: 0 0 1.4rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin-bottom: 1.15rem;
}
.hero-actions .btn-black,
.hero-actions .btn-link {
  margin: 0;
  vertical-align: middle;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0 0.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1;
}
.btn-link:hover { color: var(--brand); }

.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-black:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-black.full { width: 100%; }
html[data-theme="dark"] .btn-black{
  background: #f5f5f7;
  color: #0a0a0a;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink-soft);
}
.trust-row li { position: relative; }
.trust-row li + li::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(26, 26, 28, 0.28);
  transform: translateY(-50%);
}
html[data-theme="dark"] .trust-row li + li::before{
  background: rgba(245, 245, 247, 0.35);
}


/* Real screenshot frames */
.shot-frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ecf4;
  border: 1px solid rgba(20, 40, 80, 0.08);
  box-shadow:
    0 24px 60px rgba(20, 40, 120, 0.16),
    0 2px 0 rgba(255,255,255,0.75) inset;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
html[data-theme="dark"] .shot-frame{
  background: #12141c;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-shot {
  border-radius: 18px;
}
.demo-shot {
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.14);
}
.shot-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}
.demo-panel .scene {
  padding-top: 2.25rem;
}
.feat-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  border: 1px solid var(--border);
}
.feat-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Right visual — desktop context */
.hero-scene {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8f1ff 0%, #f3f6fb 45%, #eef2f7 100%);
  border: 1px solid rgba(20, 40, 80, 0.08);
  box-shadow:
    0 24px 60px rgba(20, 40, 120, 0.14),
    0 2px 0 rgba(255,255,255,0.8) inset;
}
html[data-theme="dark"] .hero-scene{
  background: linear-gradient(160deg, #1a2744 0%, #12141c 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.scene-menubar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
}
html[data-theme="dark"] .scene-menubar{
  background: rgba(20, 20, 24, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  color: #e8e8ed;
}
.scene-menubar-left,
.scene-menubar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.apple-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 0;
}
.apple-glyph svg { display: block; }
.mb-chip {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(47, 91, 234, 0.14);
  color: var(--brand);
}

.scene-desk {
  position: relative;
  padding: 1.25rem 1.15rem 1.5rem;
  min-height: 380px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(47, 91, 234, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 40%);
}

.code-win {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: min(48%, 250px);
  background: rgba(30, 30, 34, 0.94);
  color: #d7d7dc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transform: rotate(1.25deg);
  opacity: 0.88;
  z-index: 1;
  pointer-events: none;
}
.code-win .win-chrome {
  background: #2a2a2e;
  border-bottom-color: #333;
}
.code-win .win-title { color: #a1a1a6; }
.code-pre {
  margin: 0;
  padding: 0.75rem 0.85rem 0.95rem;
  font-size: 0.62rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.c-kw { color: #fc6; }
.c-num { color: #7dd3fc; }
.c-cm { color: #7a7a82; }

.app-window.hero-app {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  margin-top: 1.35rem;
  background: rgba(246, 246, 248, 0.98);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 40, 80, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
}
html[data-theme="dark"] .app-window.hero-app{
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e8e8ed;
}

.win-chrome {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.win-chrome.tiny { grid-template-columns: 46px 1fr 20px; padding: 0.4rem 0.55rem; }
html[data-theme="dark"] .win-chrome{
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.win-title {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.traffic {
  display: flex;
  gap: 6px;
}
.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.win-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 280px;
}

.vm-sidebar {
  padding: 0.75rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.5);
}
html[data-theme="dark"] .vm-sidebar{
  background: rgba(0, 0, 0, 0.25);
  border-right-color: rgba(255, 255, 255, 0.06);
}
.sb-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  padding: 0 0.35rem;
}
.vm-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem;
  border-radius: 10px;
  margin-bottom: 0.25rem;
}
.vm-row.active { background: rgba(47, 91, 234, 0.12); }
.vm-name { font-size: 0.82rem; font-weight: 600; letter-spacing: -0.01em; }
.vm-meta { font-size: 0.68rem; color: var(--muted); }
.sb-new {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  padding: 0.35rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7c7cc;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.status-dot.on { background: #28c840; box-shadow: 0 0 0 3px rgba(40, 200, 64, 0.2); }
.status-dot.headless { background: #0a84ff; box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2); }

.vm-pane { display: flex; flex-direction: column; min-width: 0; }
.pane-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
}
html[data-theme="dark"] .pane-bar{ border-bottom-color: rgba(255,255,255,0.06); }
.pane-bar > div:first-child {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.running-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--muted);
}
.running-pill .status-dot { margin-top: 0; }
.pane-btns {
  display: flex;
  gap: 0.35rem;
}
.pane-btns span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
}

.guest-screen {
  flex: 1;
  background: linear-gradient(145deg, #5b7cfa, #8eb6ff 45%, #c9e4ff);
  padding: 1rem;
  min-height: 200px;
}
.guest-term-win {
  background: #1e1e22;
  color: #d7d7dc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  max-width: 420px;
}
.guest-term-win .win-chrome {
  background: #2a2a2e;
  border-bottom-color: #333;
}
.guest-term-win .win-title { color: #a1a1a6; }
.guest-term-win pre {
  margin: 0;
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: left;
  white-space: pre-wrap;
}
.blink { animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }


/* Anchor offset under fixed pill nav */
.section[id],
#scenes,
#how,
#compare,
#get,
#faq,
#main {
  scroll-margin-top: 140px;
}
section.get,
#get {
  scroll-margin-top: 150px;
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
  background: var(--page);
  color: var(--ink);
}
.section-title {
  margin: 0 0 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.section-title .sans {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.section-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.section-lede {
  margin: 0 auto 2rem;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Tabs + demo panel */
.tab-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.tab {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab.is-active {
  background: #0a0a0a;
  color: #fff;
}
html[data-theme="dark"] .tab.is-active{
  background: #f5f5f7;
  color: #0a0a0a;
}

.demo-panel {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem 2rem;
  min-height: 360px;
  overflow: hidden;
}
html[data-theme="dark"] .demo-panel{
  background: linear-gradient(180deg, #1a2744, #121826);
}

.demo-toast {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(28, 28, 30, 0.94);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 2rem);
}
.toast-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.toast-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.toast-text strong { font-size: 0.8rem; }
.toast-text small { font-size: 0.68rem; color: rgba(255,255,255,0.65); }

.scene { padding-top: 1.75rem; }
.scene[hidden] { display: none !important; }

.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.scene-grid.single { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

.mock-win {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.mock-win.dark { background: #1c1c1e; color: #e8e8ed; }
.mock-win.dark .win-chrome {
  background: #2a2a2e;
  border-bottom-color: #333;
}
.mock-win.dark .win-title { color: #a1a1a6; }
.mock-win.light { background: #fff; color: #1d1d1f; }
.mock-win.wide { width: 100%; }

.mock-body { padding: 1rem; flex: 1; }
.mock-body.term pre {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: #c7c7cc;
}
.mock-caption {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.mock-list { display: flex; flex-direction: column; gap: 0.35rem; }
.mock-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
}
.mock-item.on { background: rgba(47, 91, 234, 0.2); }
.mock-item .status-dot { margin-top: 0; }

.mock-desktop-fill {
  flex: 1;
  min-height: 180px;
  background: linear-gradient(145deg, #5b7cfa, #a8d0ff);
  position: relative;
}
.mini-dock {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 55%;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
}

.setting-row,
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
}
.toggle-row { color: inherit; }
.mock-win.dark .setting-row,
.mock-win.dark .toggle-row { border-bottom-color: rgba(255,255,255,0.08); }

.toggle {
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: #c7c7cc;
  position: relative;
}
.toggle.on { background: #34c759; }
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.toggle.on::after { transform: translateX(14px); }

.stack-list { display: flex; flex-direction: column; gap: 0.4rem; }
.stack-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--chip);
  font-size: 0.88rem;
  font-weight: 600;
}
.stack-row .status-dot { margin-top: 0; }
.stack-row.muted { opacity: 0.65; }
.stack-row span:nth-child(2) { flex: 1; }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--muted);
}
.tag.accent { background: rgba(47, 91, 234, 0.15); color: var(--brand); }

.folder-row {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--chip);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step { text-align: center; }
.step-illu {
  height: 110px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}
.illu-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2f5bea, #79b6ff);
  box-shadow: 0 10px 24px rgba(47, 91, 234, 0.3);
  display: block;
}
.illu-download { position: relative; }
.illu-arrow {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  font-size: 1.1rem;
  color: var(--brand);
  font-weight: 700;
}
.illu-plus,
.illu-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}
.illu-play {
  background: #0a0a0a;
  color: #fff;
  font-size: 1rem;
  padding-left: 3px;
}
html[data-theme="dark"] .illu-play{
  background: #f5f5f7;
  color: #0a0a0a;
}
.step-num {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.step h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Chip cloud */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.fchip {
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.feat-card h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.feat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.feat-mock {
  height: 120px;
  border-radius: 14px;
  background: var(--panel);
  display: flex;
  overflow: hidden;
}
.feat-mock .fm-sidebar {
  width: 36%;
  padding: 0.65rem;
  background: rgba(255,255,255,0.35);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fm-row {
  height: 18px;
  border-radius: 6px;
  background: rgba(0,0,0,0.08);
}
.fm-row.on { background: rgba(47, 91, 234, 0.35); }
.fm-pane { flex: 1; background: linear-gradient(145deg, #5b7cfa, #cfe9ff); }

.feat-mock.share,
.feat-mock.net {
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
}
.fm-folder,
.fm-node {
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 700;
}
.fm-arrows { font-size: 1.2rem; color: var(--brand); font-weight: 700; }
.fm-bridge {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand);
}

/* Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.pillar-grid article {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.pillar-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.pillar-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Price card */
.get {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(47, 91, 234, 0.18), transparent 70%),
    var(--page);
}
.price-card {
  width: min(420px, 100%);
  margin: 2rem auto 0;
  background: var(--surface);
  border-radius: 28px;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(47, 91, 234, 0.08),
    0 0 80px rgba(47, 91, 234, 0.28),
    0 24px 60px rgba(20, 40, 120, 0.12);
  text-align: center;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0a0a0a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.price-badge img { border-radius: 5px; }
html[data-theme="dark"] .price-badge{
  background: #f5f5f7;
  color: #0a0a0a;
}

.price-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--chip);
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.seg {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--chip-text);
}
.seg.is-active {
  background: #0a0a0a;
  color: #fff;
}
html[data-theme="dark"] .seg.is-active{
  background: #f5f5f7;
  color: #0a0a0a;
}

.price-amount {
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.price-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.price-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  text-align: left;
}
.price-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2.15rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 0;
  background: no-repeat center / 18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5l3.8 3.8L15.5 6' stroke='%230a0a0a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-list li::after {
  content: none;
  display: none;
}
html[data-theme="dark"] .price-list li::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5l3.8 3.8L15.5 6' stroke='%23f5f5f7' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-note {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.price-note a { color: var(--brand); }


/* Compare */
.compare .section-lede a { color: var(--brand); }
.compare-scroll {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--surface);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
}
html[data-theme="dark"] .compare-scroll{
  border-color: rgba(255, 255, 255, 0.14);
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  min-width: 920px;
  font-size: 0.88rem;
}
.compare-table col.col-label { width: 22%; }
.compare-table col.col-cheetah { width: 24%; }
.compare-table col.col-other { width: 18%; }
.compare-table th,
.compare-table td {
  padding: 1.15rem 1.4rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--ink-soft);
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
html[data-theme="dark"] .compare-table th,
html[data-theme="dark"] .compare-table td{
  border-bottom-color: rgba(255, 255, 255, 0.12);
  border-right-color: rgba(255, 255, 255, 0.1);
}
.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}
.compare-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(47, 91, 234, 0.05);
  position: sticky;
  top: 0;
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.compare-table thead th:nth-child(2) {
  color: var(--brand);
  background: rgba(47, 91, 234, 0.12);
}
.compare-table tbody th {
  font-weight: 650;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.025);
  overflow-wrap: break-word;
}
.compare-table .th-sub,
.compare-table .td-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
html[data-theme="dark"] .compare-table tbody th{
  background: rgba(255, 255, 255, 0.03);
}
.compare-table tbody td:nth-child(2) {
  background: rgba(47, 91, 234, 0.06);
  color: var(--ink);
  font-weight: 550;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(47, 91, 234, 0.04);
}
.compare-table tbody tr:hover td:nth-child(2) {
  background: rgba(47, 91, 234, 0.1);
}
.compare-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* FAQ */
.faq-list { margin-top: 2rem; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0.35rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 1rem 1.75rem 1rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  color: var(--muted);
  font-size: 1.25rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40rem;
}
.faq-item a { color: var(--brand); }
.faq-code {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--chip);
  font-size: 0.78rem;
  overflow-x: auto;
  color: var(--ink-soft);
}

/* Docs strip */
.docs-strip { padding-top: 1rem; }
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.docs-grid a {
  text-decoration: none;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.docs-grid a:hover {
  border-color: rgba(47, 91, 234, 0.35);
  transform: translateY(-2px);
}
.docs-grid h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.docs-grid p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  background: var(--page);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-brand strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-brand a { color: var(--brand); text-decoration: none; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.footer-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--ink); }

/* ——— Responsive ——— */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { max-width: none; }
  .hero { padding-top: 6.25rem; padding-bottom: 2.5rem; }
  .code-win { display: none; }
  .app-window.hero-app { margin-top: 0; width: 100%; }
  .hero-line { flex-wrap: wrap; }

  .pill-links { display: none; }
  .pill-nav.is-open .pill-links {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(18, 18, 20, 0.96);
    border-radius: 18px;
    padding: 0.5rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  }
  .pill-nav { position: relative; }
  .nav-burger { display: inline-flex; }

  .hero-app .win-body { grid-template-columns: 200px 1fr; }

  .scene-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .docs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-app .win-body { grid-template-columns: 1fr; }
  .hero-app .vm-sidebar { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
}

@media (max-width: 560px) {
  .hero { padding-top: 5.75rem; }
  .trust-row li + li::before { display: none; }
  .pillar-grid,
  .docs-grid { grid-template-columns: 1fr; }
  .mac-menubar-left span:nth-child(n+4) { display: none; }
  .price-card { padding: 1.25rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blink { animation: none; }
  .btn-black { transition: none; }
}

.btn-black[hidden] { display: none; }
.plan-cta-wrap { display: flex; justify-content: center; }
.plan-cta-wrap .btn-black { flex: 1; }
