/* Inner pages (agents, meeting notes, pricing, FAQ): the homepage's type,
   colours and footer, on a plain light page with a solid menu bar. */

.mbar.is-solid { position: sticky; top: 0; background: rgba(42, 29, 23, 0.92); }

.page-hero { padding: clamp(96px, 12vw, 168px) var(--margin) 0; display: grid; grid-template-columns: 7fr 5fr; gap: 32px 64px; align-items: end; }
.page-hero .kicker { grid-column: 1 / -1; font-size: var(--step-small); font-weight: 500; color: var(--muted); }
.page-hero h1 { font-size: var(--step-hero); line-height: 0.92; letter-spacing: -0.055em; max-width: 11em; }
.page-hero .lead { margin: 0; max-width: 34ch; }
.page-hero .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.page-hero .actions small { color: var(--muted); font-size: var(--step-small); }

.page-section { padding: clamp(88px, 11vw, 160px) var(--margin) 0; display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }
.page-section > h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.4rem); line-height: 1; max-width: 10em; }
.page-section .body { display: grid; gap: 18px; max-width: 62ch; }
.page-section .body ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.page-section .body strong { font-weight: 500; }
.page-section .body a { text-underline-offset: 3px; }

/* A grid of short claims, each with its explanation (like the homepage's rules). */
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.facts dt { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.facts dd { margin: 10px 0 0; max-width: 36ch; }

/* Numbered how-it-runs steps. */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; gap: 0; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 3.2rem 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--surface-2); }
.flow li::before { content: counter(flow, decimal-leading-zero); grid-row: span 2; font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--step-small); padding-top: 0.35em; }
.flow b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }

/* Questions and answers, open by default so readers and crawlers see the answers. */
.qa { display: grid; }
.qa details { border-top: 1px solid var(--surface-2); padding: 22px 0; }
.qa details:last-child { border-bottom: 1px solid var(--surface-2); }
.qa summary { cursor: pointer; list-style: none; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; display: flex; justify-content: space-between; gap: 24px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; color: var(--muted); transition: rotate 200ms var(--ease); }
.qa details[open] summary::after { rotate: 45deg; }
.qa details > p { margin-top: 12px; max-width: 62ch; }

/* Pricing page: the three plans, larger. */
.plan-cards { padding: 48px var(--margin) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-cards article { padding: 32px; background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.plan-cards article.is-pick { background: var(--accent); color: var(--accent-ink); }
.plan-cards h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.plan-cards .plan-price { font-size: var(--step-head); letter-spacing: -0.05em; line-height: 1; }
.plan-cards .plan-price small { font-size: var(--step-body); letter-spacing: 0; }
.plan-cards .for { color: inherit; opacity: 0.8; }
.plan-cards ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.plan-cards .button { margin-top: auto; align-self: flex-start; background: var(--ink); color: var(--bg); }
.plan-cards .button:hover { background: #000; }

/* A product fragment set into a page: the meeting notes as they look. */
.note-sheet { background: #fff; border: 1px solid var(--surface-2); padding: 28px; display: grid; gap: 16px; font-family: var(--font-ui); font-size: 15px; line-height: 1.45; box-shadow: 0 30px 60px -40px rgba(42, 29, 23, 0.4); }
.note-sheet header { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.note-sheet header b { font-size: 19px; }
.note-sheet header span, .note-sheet h4 { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.note-sheet h4 { margin: 4px 0 -8px; text-transform: uppercase; }
.note-sheet ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.note-sheet .mine { color: #2f6fd6; }
.rec-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #111; color: #fff; font: 600 13px/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.rec-pill i { width: 3px; height: 12px; border-radius: 2px; background: #ff5d5d; }
.rec-pill i:nth-child(2) { height: 7px; }
.rec-pill i:nth-child(3) { height: 15px; }

@media (max-width: 1020px) {
  .page-hero, .page-section { grid-template-columns: 1fr; }
  .plan-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
}

/* On a phone the inner pages keep their links, in a row that scrolls. */
@media (max-width: 820px) {
  .mbar.is-solid .mbar-left { overflow-x: auto; scrollbar-width: none; }
  .mbar.is-solid .mbar-left > a:not(.mbar-app) { display: flex; flex: none; }
  .mbar.is-solid .mbar-download { display: none; }
}

/* A hero with a product fragment beside the words. */
.page-hero.has-figure { align-items: center; }
.page-hero .hero-copy { display: grid; gap: 28px; }
.page-hero .hero-copy .actions { grid-column: auto; }
.note-sheet { margin: 0; }
