/* ══════════════════════════════════════════════════════════════════
   pages.css — the story pages (/features, /pricing, /security, /why).
   Loads AFTER css/site.css. Layout only: shared components stay in
   site.css, app recreations in app-ui.css.
   Breakpoints: 1024 / 768 / 430 and no others (SITE-ARCHITECTURE §3).
   ══════════════════════════════════════════════════════════════════ */

/* ── page head: eyebrow → h1 → lede → answer paragraph ────────── */

.page-head { padding: clamp(28px, 5vw, 56px) 0 0; }

.page-head h1 { max-width: 18ch; }

.page-lede {
  font-size: calc(var(--size-body) + 2px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 58ch;
  margin: 0 0 14px;
}

/* the quotable paragraph an assistant lifts — plain, complete, first */
.page-answer {
  font-size: var(--size-body);
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0;
}

/* centered rendition: the page composes around the axis */
.page-head--center { text-align: center; }
.page-head--center h1,
.page-head--center .page-lede,
.page-head--center .page-answer { margin-inline: auto; }
.page-head--center .page-answer { text-align: left; }

.page-still { margin-top: 34px; }
.page-still img {
  width: 100%;
  border-radius: var(--radius-band);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .page-still { margin-top: 26px; }
  .page-still img { border-radius: 14px; }
}

/* ── feature groups ───────────────────────────────────────────── */

.fgroup { padding-top: var(--pad-section); }

.fgroup-head {
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
}
.fgroup-head p { color: var(--ink-soft); margin: 0; }

.fdemo { margin: 0 0 40px; }

.fgrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.fcard {
  min-width: 0;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.35s var(--ease-breathe), box-shadow 0.35s var(--ease-breathe);
}

@media (hover: hover) {
  .fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
}

.fgrid--three .fcard { grid-column: span 2; }

.fcard--wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  column-gap: clamp(26px, 4vw, 56px);
  padding-inline: clamp(26px, 4vw, 64px);
}

.fcard-shot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex: 1;
  width: 100%;
}
.fcard--wide .fcard-shot { margin-bottom: 0; }

.fcard-shot > * { max-width: 340px; }
.fcard--wide .fcard-shot > * { max-width: 420px; }

.fcard-copy h3 { margin-bottom: 0.3em; }
.fcard-copy p { color: var(--ink-soft); font-size: calc(var(--size-body) - 1px); margin: 0; }
.fcard--wide .fcard-copy { max-width: 42ch; }

@media (max-width: 1024px) {
  .fgrid--three .fcard { grid-column: span 3; }
}

@media (max-width: 768px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fcard, .fgrid--three .fcard, .fcard--wide { grid-column: span 1; }
  .fcard--wide { display: flex; flex-direction: column; }
  /* the screenshot is the claim: mock first, words after */
  .fcard-shot { order: -1; margin-bottom: 18px; width: 100%; }
  .fcard--wide .fcard-shot { margin-bottom: 18px; }
  .fcard { padding: 22px 20px 20px; }
}

/* ── pricing ──────────────────────────────────────────────────── */

.pricing {
  padding-top: clamp(30px, 4vw, 48px);
  text-align: center;
}

.pricing-cards { margin-inline: auto; }
.price-card { text-align: left; }

.pricing-plain {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: var(--size-small);
}

.price-noads {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 40;
  font-size: var(--size-h3);
  font-weight: 560;
  color: var(--espresso);
  margin: 10px 0 0;
}

/* ── FAQ section wrapper ──────────────────────────────────────── */

.faq { padding-top: var(--pad-section); }
.faq .eyebrow { margin-bottom: 8px; }
.faq .h2 { margin-bottom: 22px; }

.faq--center { text-align: center; }
.faq--center .faq-list {
  margin-inline: auto;
  text-align: left;
}

/* ── the /why essay ───────────────────────────────────────────── */

.page-body { padding-top: clamp(30px, 5vw, 56px); }

.essay {
  max-width: 66ch;
  font-size: calc(var(--size-body) + 1px);
  line-height: 1.7;
}

.essay p { margin-bottom: 1.35em; }

.essay-moments {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
}

.essay-moments li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: var(--ink);
}

.essay-moments li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 1.05em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.essay .pull {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 40;
  font-size: var(--size-h2);
  font-weight: 560;
  line-height: 1.2;
  color: var(--espresso);
  letter-spacing: -0.012em;
  margin: 1.4em 0;
  text-wrap: balance;
}

.essay-close { color: var(--ink-soft); }

/* ── security blocks ──────────────────────────────────────────── */

.sec-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sec-block {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-lift);
}

.sec-block h2 {
  font-size: var(--size-h3);
  font-variation-settings: 'opsz' 28;
  line-height: 1.3;
  margin-bottom: 0.4em;
}

.sec-block p {
  color: var(--ink-soft);
  font-size: calc(var(--size-body) - 1px);
  margin: 0;
}

.sec-note {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: var(--size-small);
  padding: 4px 6px 0;
}
.sec-note p { margin: 0; max-width: 76ch; }

@media (max-width: 768px) {
  .sec-wrap { grid-template-columns: 1fr; gap: 16px; }
  .sec-block { padding: 22px 20px; }
}

.v11-product-shot { width:100%; border-radius:20px; overflow:hidden; border:1px solid var(--border); background:var(--bg); }
.v11-product-shot img { width:100%; height:auto; display:block; }
.v11-feature-widgets { display:grid; gap:14px; width:100%; }
.v11-feature-widgets img { display:block; width:100%; height:auto; border-radius:16px; }

/* Faster demonstrations and entrance motion on Features. */
.page-features { --demo-motion-scale:.5; --reveal-duration:.35s; --reveal-step:.035s; }
