/* ============================================================
   oneem bots — panel SPA layout
   App-specific layer on top of /assets/theme.css: sidebar shell,
   auth screens, dashboard/bot-card grid, create-bot wizard.
   ============================================================ */

/* ---------- app shell: sidebar + topbar + content ---------- */

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 60;
  width: 248px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 14px;
  background: #0d0f16;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.sidebar-brand:hover { text-decoration: none; color: var(--text); }
.brand-word b, .brand-word em { color: var(--accent); font-weight: 700; font-style: normal; }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 500 13.5px/1.3 var(--font);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--speed) ease, color var(--speed) ease;
}
.sidebar-link svg { width: 16px; height: 16px; flex: none; }
.sidebar-link:hover { background: rgba(131, 140, 156, .08); color: var(--text); text-decoration: none; }
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(231, 163, 62, .16), rgba(231, 163, 62, .015));
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--accent);
}
.sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-logout { color: var(--err); }
.sidebar-logout:hover { background: var(--err-soft); color: #fca5aa; }

.main { margin-left: 248px; min-height: 100vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 58px;
  padding: 0 28px;
  background: rgba(10, 13, 19, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.topbar-user-name { font-size: 12.5px; color: var(--muted); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 17px; height: 17px; }

.content { padding: 28px 32px 60px; max-width: 1180px; }

/* ---------- page head ---------- */

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.page-head h1 { margin-bottom: 4px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.back-link svg { width: 13px; height: 13px; }
.back-link:hover { color: var(--text); text-decoration: none; }

/* ---------- usage strip ---------- */

.usage-strip { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.usage-pill {
  flex: 1 1 190px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.usage-pill-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 9px;
}
.usage-pill-label svg { width: 14px; height: 14px; }

/* ---------- bots grid / cards ---------- */

.bots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }

.bot-card { padding: 18px; transition: transform var(--speed) ease, border-color var(--speed) ease; }
.bot-card:hover { border-color: rgba(231, 163, 62, .3); transform: translateY(-2px); }

.bot-card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; }
.bot-card-head .led { margin-top: 5px; }
.bot-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.bot-status-label { font-size: 11.5px; margin-top: 1px; }

.bot-card-tags { gap: 6px; margin-bottom: 13px; }

.bot-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 13px;
}
.bot-stat { display: flex; flex-direction: column; gap: 3px; font-size: 11px; }
.bot-stat .stat { font-size: 13px; }

.bot-card-error {
  font-size: 11.5px;
  color: var(--err);
  background: var(--err-soft);
  border-left: 2px solid var(--err);
  border-radius: 6px;
  padding: 7px 9px;
  margin-bottom: 13px;
}

.bot-card-actions { padding-top: 12px; border-top: 1px solid var(--line); gap: 6px; }
.bot-card-actions .chip { padding: 5px 9px; }

/* ---------- auth screens ---------- */

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.auth-brand:hover { text-decoration: none; color: var(--text); }
.auth-card { width: min(400px, 100%); padding: 32px; }
.auth-card h2 { margin-bottom: 6px; }
.auth-switch { margin-top: 16px; font-size: 13px; text-align: center; }
.auth-foot { max-width: 360px; text-align: center; font-size: 12px; }

/* ---------- create-bot wizard ---------- */

.step-track { display: flex; gap: 6px; margin-bottom: 20px; }
.step-seg {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--dim);
  padding-bottom: 9px;
  border-bottom: 2px solid var(--line);
}
.step-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  margin: 0 auto 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}
.step-seg.done, .step-seg.current { color: var(--text); border-bottom-color: var(--accent); }
.step-seg.done span, .step-seg.current span { background: var(--grad); border-color: transparent; color: #201202; font-weight: 700; }

.runtime-options { display: flex; flex-direction: column; gap: 8px; }
.runtime-opt {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--speed) ease, background var(--speed) ease;
}
.runtime-opt:hover { border-color: #333c52; }
.runtime-opt input { margin-top: 3px; accent-color: var(--accent); }
.runtime-opt div { display: flex; flex-direction: column; gap: 2px; }
.runtime-opt b { font-size: 13.5px; }
.runtime-opt span.muted { font-size: 11.5px; }
.runtime-opt.active { border-color: var(--accent); background: var(--accent-soft); }
.runtime-opt.disabled { opacity: .5; cursor: not-allowed; }

.backup-codes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: var(--panel-2);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}
.backup-codes span { padding: 7px 8px; background: #0d1017; border-radius: 6px; text-align: center; font-size: 13px; letter-spacing: .02em; }

/* ---------- account page ---------- */

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.account-grid .card h3 { margin-bottom: 14px; }
.account-grid .field:last-child { margin-bottom: 0; }

/* ---------- bot page: overview ---------- */

#bot-tab-content .empty { margin-top: 4px; }

.bot-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.bot-stats-grid .card h4 { margin-bottom: 12px; }
.bot-stats-grid .stat-num { font-size: 22px; }

.bot-error-panel {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  border: 1px solid rgba(242, 84, 91, .35);
  background: var(--err-soft);
  border-radius: var(--radius-sm);
  color: #ffb3b7;
  font-size: 13px;
  margin-bottom: 20px;
}
.bot-error-panel svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--err); }
.bot-error-panel pre { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 12px; color: #ffb3b7; }

.bot-quick-actions { margin-bottom: 4px; }

/* ---------- bot page: files ---------- */

.files-layout { display: flex; gap: 16px; align-items: stretch; min-height: 560px; }

.files-tree-pane {
  width: 280px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.files-tree-toolbar { display: flex; gap: 4px; padding: 9px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.files-tree-toolbar .btn-icon svg { width: 15px; height: 15px; }

.files-tree { flex: 1; overflow: auto; padding: 6px; }
.tree-children { margin-left: 12px; padding-left: 7px; border-left: 1px dashed var(--line); }
.tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font: 500 12.5px/1.4 var(--mono);
  white-space: nowrap;
  user-select: none;
}
.tree-row:hover { background: rgba(131, 140, 156, .09); color: var(--text); }
.tree-row.active { background: var(--accent-soft); color: var(--text); }
.tree-chevron { width: 12px; height: 12px; flex: none; color: var(--dim); transition: transform var(--speed) ease; }
.tree-chevron.open { transform: rotate(90deg); }
.tree-chevron.spacer { visibility: hidden; }
.tree-icon { width: 14px; height: 14px; flex: none; color: var(--dim); }
.tree-row.type-dir .tree-icon { color: var(--accent); }
.tree-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tree-row-menu-btn {
  opacity: 0;
  flex: none;
  width: 22px; height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.tree-row-menu-btn svg { width: 14px; height: 14px; }
.tree-row:hover .tree-row-menu-btn, .tree-row-menu-btn.open { opacity: 1; }
.tree-row-menu-btn:hover, .tree-row-menu-btn.open { background: rgba(131, 140, 156, .16); color: var(--text); }
.tree-note { padding: 9px 8px; color: var(--dim); font-size: 12px; font-family: var(--font); }

.ctx-menu {
  position: fixed;
  z-index: 1200;
  min-width: 168px;
  background: #10141d;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  animation: fadeUp .12s ease;
}
.ctx-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--text);
  font: 500 12.5px/1.3 var(--font);
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
}
.ctx-menu button svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.ctx-menu button:hover { background: rgba(131, 140, 156, .1); }
.ctx-menu button.danger { color: var(--err); }
.ctx-menu button.danger svg { color: var(--err); }
.ctx-menu button.danger:hover { background: var(--err-soft); }
.ctx-menu-sep { height: 1px; background: var(--line); margin: 4px 2px; }

.files-editor-pane {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.files-editor-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.files-editor-path { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dirty-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 6px 1px rgba(231, 163, 62, .5); }
.files-editor-body { flex: 1; min-height: 0; position: relative; }
.files-editor-body .CodeMirror { height: 100%; font-family: var(--mono); font-size: 13px; }
textarea.editor-fallback {
  display: block;
  width: 100%; height: 100%;
  margin: 0;
  padding: 14px;
  border: none;
  border-radius: 0;
  resize: none;
  background: #0d1017;
  color: var(--text);
  font: 400 13px/1.6 var(--mono);
}
textarea.editor-fallback:focus { outline: none; box-shadow: none; }
.files-editor-empty, .files-editor-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  gap: 8px;
  font-size: 13px;
}

/* ---------- bot page: logs ---------- */

.log-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.log-toolbar select.input { width: auto; }
.follow-toggle.is-live { border-color: rgba(62, 207, 142, .4); color: var(--ok); }
.log-console {
  background: #0a0c11;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  height: min(58vh, 540px);
  overflow: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, .45);
}
.log-line { white-space: pre-wrap; word-break: break-all; color: #c7ccd6; }
.log-console .empty, .log-console .muted { font-family: var(--font); }

/* ---------- bot page: secrets ---------- */

.secrets-table td .input { padding: 7px 10px; font-size: 12.5px; }
.secrets-row-invalid td .input { border-color: var(--err); }
.secrets-actions-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- bot page: settings / danger zone ---------- */

.danger-zone {
  margin-top: 24px;
  border-color: rgba(242, 84, 91, .3);
  background: linear-gradient(180deg, rgba(242, 84, 91, .05), transparent 46%), var(--panel);
}
.danger-zone h3 { display: flex; align-items: center; gap: 8px; color: var(--err); margin-bottom: 8px; }
.danger-zone h3 svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .sidebar { transform: translateX(-102%); transition: transform .2s ease, box-shadow .2s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(2, 6, 23, .6); }
  .main { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 18px; }
}

@media (max-width: 720px) {
  h1 { font-size: 22px; }
  .modal-body, .card { padding: 16px; }
  .modal-head, .modal-actions { padding: 12px 16px; }
  .account-grid { grid-template-columns: 1fr; }
  .backup-codes { grid-template-columns: 1fr; }
  .files-layout { flex-direction: column; min-height: 0; }
  .files-tree-pane { width: 100%; max-height: 260px; }
  .files-editor-pane { height: 460px; }
}

@media (max-width: 480px) {
  .auth-card { padding: 24px; }
}

/* ---------- marketing pages: nav + footer shell ---------- */

.mkt-shell { display: flex; flex-direction: column; min-height: 100vh; }
.mkt-main { flex: 1; }

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 19, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mkt-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  flex-wrap: wrap;
}
.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-right: auto;
}
.mkt-brand:hover { text-decoration: none; color: var(--text); }
.mkt-nav-links { display: flex; align-items: center; gap: 22px; }
.mkt-nav-link { color: var(--muted); font: 600 13.5px/1 var(--font); text-decoration: none; }
.mkt-nav-link:hover { color: var(--text); text-decoration: none; }
.mkt-nav-link.active { color: var(--accent); }
.mkt-nav-actions { display: flex; align-items: center; gap: 10px; }

.mkt-footer { border-top: 1px solid var(--line); padding: 28px 32px 32px; margin-top: 60px; }
.mkt-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.mkt-brand-sm { font-size: 14px; }
.mkt-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.mkt-footer-links a { color: var(--muted); font-size: 13px; }
.mkt-footer-links a:hover { color: var(--text); text-decoration: none; }
.mkt-footer-copy { max-width: 1180px; margin: 18px auto 0; font-size: 12px; text-align: center; }

/* ---------- marketing pages: hero ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--accent);
  font: 600 11.5px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 32px 88px;
}
.hero-copy h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; margin-bottom: 16px; max-width: 14ch; }
.hero-sub { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 46ch; margin-bottom: 26px; }
.hero-cta { gap: 12px; }

.btn-lg { padding: 13px 22px; font-size: 14.5px; border-radius: 10px; }

.hero-panel { animation: fadeUp .5s ease; }
.rack {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 18px;
}
.rack-caption {
  padding: 10px 4px 12px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.rack-slot { display: flex; align-items: center; gap: 11px; padding: 12px 4px; border-bottom: 1px solid rgba(35, 40, 56, .7); }
.rack-slot:last-child { border-bottom: none; }
.rack-slot-name { flex: 1; min-width: 0; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rack-slot-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- marketing pages: features ---------- */

.mkt-features { max-width: 1180px; margin: 0 auto; padding: 0 32px 80px; }
.mkt-section-title { font-size: 24px; text-align: center; margin-bottom: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.feature-card { display: flex; flex-direction: column; gap: 4px; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin-bottom: 0; font-size: 13.5px; }

/* ---------- marketing pages: closing CTA band ---------- */

.mkt-cta-band {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 52px 32px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mkt-cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.mkt-cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.mkt-cta-band p { margin-bottom: 22px; }

/* ---------- marketing pages: pricing ---------- */

.mkt-page-head { max-width: 720px; margin: 0 auto; padding: 60px 32px 12px; text-align: center; }
.mkt-page-head h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.mkt-page-head .eyebrow { margin-bottom: 14px; }
.mkt-page-head .hero-sub { margin: 0 auto; text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1020px;
  margin: 40px auto 20px;
  padding: 0 32px;
  align-items: stretch;
}
.plan-card { display: flex; flex-direction: column; padding: 26px; }
.plan-card-featured { border-color: rgba(231, 163, 62, .45); box-shadow: 0 0 0 1px rgba(231, 163, 62, .25), var(--shadow-lg); }
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #201202;
  font: 700 10.5px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; }
.plan-price-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; }
.plan-price-unit { color: var(--muted); font-size: 13px; }
.plan-features { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text); }
.plan-features li svg { width: 15px; height: 15px; flex: none; }
.plan-features li.is-yes svg { color: var(--ok); }
.plan-features li.is-no { color: var(--dim); }
.plan-features li.is-no svg { color: var(--dim); }
.plan-cta { margin-top: auto; }
.pricing-note { max-width: 640px; margin: 8px auto 60px; padding: 0 32px; text-align: center; font-size: 12.5px; }

/* ---------- marketing pages: responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 44px 24px 56px; gap: 36px; }
  .hero-copy h1 { max-width: none; }
  .hero-panel { order: -1; }
  .mkt-nav-inner { padding: 12px 20px; }
  .mkt-features { padding: 0 24px 60px; }
  .mkt-cta-band { margin: 0 20px 60px; }
}

@media (max-width: 640px) {
  .mkt-nav-inner { justify-content: center; }
  .mkt-brand { margin-right: 0; flex: 1 1 100%; justify-content: center; }
  .mkt-nav-links { order: 3; flex: 1 1 100%; justify-content: center; }
  .mkt-nav-actions { flex: 1 1 100%; justify-content: center; }
  .pricing-grid { padding: 0 20px; }
  .mkt-page-head { padding: 44px 20px 8px; }
}
