/* /cli — the command-line license landing page. Layout only: the shell, the
   grids (.v-features-grid), the tables (.compare-table) and the code blocks
   (.code-box) all come from verticals.css, and entrances ride the shared
   [data-reveal] kpRise in main.css. What lives here is the terminal-flavoured
   install strip, the price/order pair, and the FAQ disclosure. */

/* The copy-confirm tick. resultPop is defined in app.css, which this page does
   not load, so declare it locally (same shape as founding-practice.css). */
@keyframes cliPop {
  0%   { opacity: 0; transform: scale(0); }
  55%  { opacity: 1; transform: scale(1.12); }
  100% { transform: scale(1); }
}

.cli-hero { text-align: center; }
.cli-hero-inner { max-width: 820px; margin: 0 auto; }
.cli-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin: 0 0 16px; }
.cli-hero .hero-sub { max-width: 64ch; margin: 0 auto 28px; }
.cli-btn-lg { padding: 14px 28px; font-size: 16px; }
.cli-hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cli-scarcity { margin-top: 16px; font-size: 14px; color: var(--text-mute); }

/* Install strip: a terminal line you can take away with one click. Dark in both
   themes on purpose — it is a terminal, and a light-mode shell reads as a text
   field people try to type into. */
.cli-install {
  display: flex; align-items: center; gap: 10px;
  max-width: 620px; margin: 0 auto 26px;
  padding: 12px 12px 12px 18px;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.cli-install:hover { border-color: #334155; box-shadow: var(--shadow); }
.cli-install code {
  flex: 1 1 auto; min-width: 0;
  font-size: 14px; line-height: 1.5; color: #e2e8f0;
  overflow-x: auto; white-space: nowrap;
  /* The command is the point; let it scroll rather than wrap mid-flag. */
  scrollbar-width: thin;
}
.cli-copy {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font: inherit; font-size: 13px; font-weight: 600;
  color: #cbd5e1; background: #1e293b;
  border: 1px solid #334155; border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.cli-copy:hover { background: #334155; color: #fff; }
.cli-copy:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cli-copy.is-copied { color: #86efac; border-color: #166534; }
.cli-copy.is-copied svg { animation: cliPop .45s cubic-bezier(.34,1.56,.64,1) both; }

/* Three claims under the hero. Not cards: cards here would compete with the
   install strip, which is the one thing we want clicked. */
.cli-trust {
  max-width: var(--max-w); margin: 44px auto 0; padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  text-align: left;
}
.cli-trust li {
  flex: 0 1 calc(33.333% - 11px);
  padding: 18px 20px;
  font-size: 14px; color: var(--text-soft); line-height: 1.6;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cli-trust li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cli-trust strong { display: block; color: var(--text); margin-bottom: 4px; }
@media (max-width: 860px) { .cli-trust li { flex-basis: 100%; } }

/* Alternating band, so eight sections don't read as one scroll. */
.cli-alt { background: var(--bg-soft); }

.cli-code-wrap { max-width: 760px; margin: 0 auto 28px; }
.cli-code-wrap .code-box { margin: 0; overflow-x: auto; }

.cli-caption {
  caption-side: top; text-align: left;
  padding: 0 0 10px; font-size: 13px; color: var(--text-mute);
}

/* Price + order, side by side. */
.cli-buy {
  max-width: 1000px; margin: 0 auto;
  display: grid; gap: 16px; grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 880px) { .cli-buy { grid-template-columns: 1fr 1fr; } }

.cli-price-card, .cli-order {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cli-price-card:hover, .cli-order:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cli-price-card { border-color: var(--primary); }
.cli-price-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); margin-bottom: 12px;
}
.cli-price { margin: 0 0 6px; line-height: 1; }
.cli-price strong { font-size: clamp(38px, 6vw, 52px); font-weight: 700; letter-spacing: -0.02em; }
.cli-price span { font-size: 17px; color: var(--text-soft); margin-left: 4px; }
.cli-price-sub { font-size: 15px; color: var(--text-soft); margin: 0 0 20px; }
.cli-price-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.cli-price-list li {
  position: relative; padding-left: 26px;
  font-size: 14px; color: var(--text-soft); line-height: 1.5;
}
.cli-price-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: var(--primary-soft);
  border-radius: 50%;
  /* The tick, drawn with a border so it needs no extra element or icon file. */
  box-shadow: inset 0 0 0 1px var(--primary);
}
.cli-price-list li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.cli-price-fine { margin: 0; font-size: 12px; color: var(--text-mute); }

.cli-order h3 { font-size: 20px; margin: 0 0 8px; }
.cli-order > p { font-size: 14px; color: var(--text-soft); margin: 0 0 18px; }
.cli-form { display: flex; flex-direction: column; gap: 14px; }
.cli-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-soft); }
.cli-field input {
  width: 100%;
  padding: 10px 12px;
  font: inherit; font-size: 14px;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.cli-field input:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 1px;
  border-color: var(--primary);
}
.cli-error { color: var(--danger); font-size: 13px; margin: 0; }
.cli-error a { color: var(--danger); font-weight: 600; }
.cli-privacy { margin: 14px 0 0; font-size: 12px; color: var(--text-mute); }

.cli-trial-note {
  max-width: 640px; margin: 28px auto 0;
  text-align: center; font-size: 14px; color: var(--text-soft);
}

.cli-faq { max-width: 760px; margin: 0 auto; }
.cli-related { margin-top: 18px; font-size: 14px; color: var(--text-mute); }
.cli-related a { color: var(--text-soft); }
.cli-related a:hover { color: var(--primary); }

/* The global gate in main.css already neutralizes durations; this is the
   belt-and-braces pass for the one named animation above. */
@media (prefers-reduced-motion: reduce) {
  .cli-copy.is-copied svg { animation: none; }
}
