/* ── Content pages: pricing, faq, notion-word-count, privacy, terms, blog posts ── */

/* ── Container ── */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--toolbar-h, 52px) + 36px) 20px 80px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Page heading (faq page) ── */
.page-heading { margin-bottom: 36px; }
.page-heading h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.page-heading p { font-size: .92rem; color: var(--text-sec); line-height: 1.65; }
.page-heading a { color: var(--accent); text-decoration: none; }

/* ── Prose ── */
.prose h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.prose .lead {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.prose h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pri);
  margin: 32px 0 10px;
  letter-spacing: -.01em;
}

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.prose p {
  font-size: .9rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 12px;
}

.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.prose ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.prose ul li {
  font-size: .9rem;
  color: var(--text-sec);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}

.prose ol {
  margin: 0 0 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.prose ol li {
  font-size: .9rem;
  color: var(--text-sec);
  line-height: 1.6;
  padding-left: 4px;
}

.prose code {
  font-family: ui-monospace, monospace;
  font-size: .82em;
  background: var(--bg, #f0f2f7);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── Callout ── */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p { margin: 0; font-size: .9rem; color: var(--text-sec); line-height: 1.7; }
.callout strong { color: var(--text-pri); }

/* ── Steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 24px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-body { flex: 1; }
.step-body strong { display: block; font-size: .92rem; color: var(--text-pri); margin-bottom: 3px; }
.step-body span { font-size: .86rem; color: var(--text-sec); line-height: 1.5; }

/* ── CTA box ── */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.cta-box h2, .cta-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pri);
  margin-bottom: 8px;
}
.cta-box p { font-size: .88rem; color: var(--text-sec); margin-bottom: 16px; }

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--t-fast, 150ms ease);
}
.cta-link:hover { opacity: .9; }

/* ── FAQ accordion (content pages) ── */
.faq-section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 36px 0 10px;
}

.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: none;
  padding: 14px 16px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-pri);
  font-family: var(--font-ui);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--t-fast, 150ms ease);
  line-height: 1.4;
}
.faq-q:hover { background: var(--surface-2); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq-arrow {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--text-muted);
  transition: transform var(--t-fast, 150ms ease);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* faq-icon (+ style) */
.faq-icon {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--text-muted);
  transition: transform var(--t-fast, 150ms ease), color var(--t-fast, 150ms ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  display: none;
  padding: 4px 18px 16px;
  font-size: .88rem;
  color: var(--text-sec);
  line-height: 1.75;
  background: var(--surface);
}
.faq-a a { color: var(--accent); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-item.open .faq-a { display: block; }

/* Pricing page: card-style faq items */
.faq-list--cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 10px;
}

.faq-list--cards .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Feature table (pricing) ── */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.feature-table thead th {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.feature-table thead th:last-child { text-align: center; }
.feature-table tbody tr { border-bottom: 1px solid var(--border); }
.feature-table tbody tr:last-child { border-bottom: none; }
.feature-table td { padding: 11px 16px; color: var(--text-sec); vertical-align: middle; }
.feature-table td:last-child { text-align: center; }
.feature-table .feature-name { font-weight: 600; color: var(--text-pri); }
.feature-table .feature-desc { font-size: .8rem; color: var(--text-muted); display: block; margin-top: 1px; }

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(22,163,74,.12);
}
.check svg { width: 13px; height: 13px; color: #16a34a; }

/* ── Future note (pricing) ── */
.future-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .84rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin-bottom: 16px;
}
.future-note strong { color: var(--text-pri); }

/* ── Meta line ── */
.meta-line {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Blog index / post list ── */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 36px 0 10px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color var(--t-fast, 150ms), box-shadow var(--t-fast, 150ms);
}

.post-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(79,142,247,.08);
}

.post-item-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-pri);
  letter-spacing: -.01em;
  margin-bottom: 4px;
}

.post-item-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Try button (content page toolbar) ── */
.try-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 34px;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--t-fast, 150ms ease);
}
.try-btn:hover { opacity: .9; }

/* ── Blog article FAQ (non-accordion style) ── */
.faq {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq .faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.faq .faq-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-pri);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.faq .faq-item p { margin-bottom: 0; }

/* ── Footer links (blog/content variant) ── */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-links a { color: var(--text-sec); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
