/* Nightbell — app-specific components only.

   The shared identity (tokens, base components, buttons, cards, type,
   dropdown) now lives in guru_shared/static/base.css, linked BEFORE this
   file on every page. Nightbell's host pages used only shared components,
   so this file is intentionally near-empty; add Nightbell-only rules here,
   on base.css tokens, never re-declaring :root.

   NOTE: the marketing index.html carries its own inline <style> system
   (hero/demo/steps/trust) — that's migrated to tokens in that file, not
   here. New marketing-page styles go HERE rather than growing that inline
   block further (see the pricing rules below); the existing inline block
   is left alone deliberately rather than moved in one go. */

/* ---- Collapsible dashboard sections ----
   Native <details>/<summary> — no JS needed for the open/close behavior
   itself (dashboard.html only adds localStorage persistence on top), and
   it's accessible (keyboard-toggleable, screen-reader-announced) by
   default in a way a custom div+button toggle would have to earn. */
details.section { margin-bottom: 16px; }
details.section > summary {
  list-style: none; cursor: pointer; font-family: var(--font-display);
  font-weight: 600; font-size: 21px; margin: 28px 0 12px; user-select: none;
}
details.section > summary::-webkit-details-marker { display: none; }
details.section > summary::before {
  content: "▸"; display: inline-block; color: var(--accent);
  margin-right: 8px; transition: transform .12s ease; font-size: 16px;
}
details.section[open] > summary::before { transform: rotate(90deg); }

/* ---- Marketing pricing table (index.html's pricing section) ----
   Prices are real but billing isn't wired up yet (no Stripe — see
   nightdesk/README.md's pricing section), so the paid tiers are
   announcements rather than offers. Only Free is actionable today. */
.pricing-section { padding: 0 0 76px; }
.pricing-section h2 {
  font-family: var(--font-display); font-weight: 500; font-size: 30px; margin: 0 0 8px; text-align: center;
}
.pricing-section .sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
/* stretch (not start) so all three cards match the tallest one — with
   uneven list lengths and only two cards carrying a "coming soon" chip,
   start-aligned cards end up visibly ragged. */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; height: 100%;
}
/* The only tier a host can actually sign up for today gets the accent
   border — the paid ones deliberately don't compete for attention. */
.tier.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier .tier-name {
  font: 600 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.tier .price { font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1; }
.tier .price .per { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--muted); }
.tier .annual { color: var(--muted); font-size: 13px; margin-top: 6px; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; line-height: 1.5; }
.tier li { padding: 7px 0; border-top: 1px solid var(--border); color: var(--ink-soft); }
.tier li:first-child { border-top: 0; }
/* align-self keeps the chip sized to its text — the .tier flex column
   would otherwise stretch it to full card width, which reads as a broken
   button rather than a label. margin-top:auto pins it to the card bottom
   so all three cards' chips line up regardless of list length. */
.tier .soon {
  align-self: flex-start; background: var(--soon-bg); color: var(--muted);
  border-radius: 4px; padding: 4px 8px; font: 600 10px/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 14px;
}
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin: 28px 0 0; }

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
}
