/* MFCommander / MFSoft — global stylesheet
   Only what Tailwind utilities can't express: font loading, resets,
   keyframes, scrollbar hiding, selection colour, and long-form prose.

   Token values here MUST match tailwind.config.js — every hex below is a
   named token: ink #152026, muted #5c686e, prose #4b565c, rule #d9dedc,
   rule-strong #c9d0cd, rule-soft #e2e6e3, shell #f5f3ed, paper #fffefa,
   wash #f0f3f2, cyan-deep #0b7280, cyan-wash #e6f6f8, amber-deep #8a5a0c.
   Cyan text on light is always #0b7280 (see the cyan rule in
   tailwind.config.js). */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: rgba(24, 185, 213, 0.26); }

/* hide scrollbar on horizontally-scrolling nav links (mobile) */
.nav-links { scrollbar-width: none; -ms-overflow-style: none; }
.nav-links::-webkit-scrollbar { display: none; }

/* caret blink in hero terminal line */
@keyframes blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
.caret {
  border-right: 2px solid #18b9d5;
  animation: blink 1.1s step-end infinite;
}

/* FAQ accordion */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-icon { transition: transform 0.25s ease; }

/* ─────────────────────────────────────────────────────────────────────────
   Legal prose — Terms / Privacy. Light surface.
   ───────────────────────────────────────────────────────────────────────── */
.legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 40px 0 14px;
  color: #152026;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #4b565c;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}
.legal-body li {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4b565c;
  display: flex;
  gap: 10px;
  text-wrap: pretty;
}
.legal-body li::before {
  content: '▸';
  color: #0b7280;
  flex: none;
}
.legal-body a {
  color: #0b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: #152026; }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.legal-body th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c686e;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid #c9d0cd;
}
.legal-body td {
  font-size: 14.5px;
  color: #4b565c;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid #e2e6e3;
  vertical-align: top;
}

/* ─────────────────────────────────────────────────────────────────────────
   Help documentation. Light surface.
   ───────────────────────────────────────────────────────────────────────── */
.help-doc section + section { margin-top: 4rem; padding-top: 0.25rem; }
.help-doc h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #152026;
}
.help-doc h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #d9dedc;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: #152026;
}
.help-doc h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  color: #152026;
}
.help-doc p,
.help-doc li {
  color: #4b565c;
  font-size: 0.975rem;
  line-height: 1.75;
  text-wrap: pretty;
}
.help-doc p + p { margin-top: 0.85rem; }
.help-doc .lead {
  max-width: 46rem;
  color: #5c686e;
  font-size: 1.15rem;
  line-height: 1.7;
}
.help-doc a {
  color: #0b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.help-doc a:hover { color: #152026; }
.help-doc ul,
.help-doc ol:not(.doc-steps) { margin: 0.85rem 0 0; padding-left: 1.4rem; }
.help-doc ul { list-style: disc; }
.help-doc ol:not(.doc-steps) { list-style: decimal; }
.help-doc li + li { margin-top: 0.4rem; }
.help-doc code {
  border: 1px solid #d9dedc;
  border-radius: 0.3rem;
  background: #f0f3f2;
  padding: 0.12rem 0.35rem;
  color: #294048;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84em;
}
.help-doc kbd {
  display: inline-block;
  min-width: 2.25rem;
  border: 1px solid #c9d0cd;
  border-bottom-width: 2px;
  border-radius: 0.35rem;
  background: #fffefa;
  padding: 0.15rem 0.4rem;
  color: #294048;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-align: center;
}
.help-doc table {
  width: 100%;
  margin-top: 1.25rem;
  border: 1px solid #d9dedc;
  border-radius: 0.6rem;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  font-size: 0.9rem;
}
.help-doc th {
  background: #f0f3f2;
  color: #5c686e;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  text-align: left;
  text-transform: uppercase;
}
.help-doc td {
  border-top: 1px solid #d9dedc;
  color: #4b565c;
  padding: 0.8rem 1rem;
  vertical-align: top;
}
.doc-note,
.doc-warning {
  margin-top: 1.5rem;
  border-left: 3px solid #0b7280;
  border-radius: 0.35rem;
  background: #e6f6f8;
  padding: 1rem 1.15rem;
  color: #4b565c;
  font-size: 0.925rem;
  line-height: 1.65;
}
.doc-warning { border-left-color: #8a5a0c; background: #fdf4e4; }
.doc-note strong,
.doc-warning strong { display: block; margin-bottom: 0.2rem; color: #152026; }
.doc-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}
.doc-steps > li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  list-style: none;
}
.doc-steps > li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: #0b7280;
  color: #fffefa;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
}
.doc-steps h3 { margin: 0.15rem 0 0.2rem; }
.doc-steps p { margin: 0; }

@media (max-width: 640px) {
  .help-doc section + section { margin-top: 3.25rem; }
  .help-doc table { display: block; max-width: 100%; overflow-x: auto; }
}
