/* The marketing pages (features, pricing, download, about, contact, FAQ). Loaded after style.css on those pages only. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.top nav a[aria-current="page"] { color: var(--ink); }

.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 5.5vw, 80px) 0 clamp(36px, 5vw, 64px); }
.page-hero::before { content: ""; position: absolute; inset: -60px 0 auto 0; height: 520px; background: radial-gradient(55% 70% at 50% 0%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%); pointer-events: none; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero.split > .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 12px 0 16px; max-width: 14em; }
.page-hero .lead { max-width: 36em; }
.page-hero .cta-row { justify-content: flex-start; margin-top: 26px; }
.hero-fig .shot-frame img { filter: drop-shadow(0 24px 50px rgba(8, 13, 38, 0.22)); }
.crumbs { font-size: 0.9rem; color: var(--faint); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
@media (max-width: 900px) { .page-hero.split > .wrap { grid-template-columns: 1fr; } }

.pg h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.pg h3 { font-size: 1.2rem; }
.pg .head { margin-bottom: 30px; }
.copy { max-width: 46rem; }
.copy p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.copy p + p { margin-top: 14px; }
.copy a { text-underline-offset: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two-col.top { align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 8px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.alt .fact { background: var(--bg); }
.fact strong { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.fcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fcard { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .fcard { background: var(--bg); }
.fcard p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.fcard .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); }
.fcard .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcard.link { text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.fcard.link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.fcard .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--blue-ink); display: inline-flex; align-items: center; gap: 8px; }
.fcard .more svg { width: 16px; height: 16px; }
.pro-tag { vertical-align: 2px; margin-left: 6px; }
.flow { counter-reset: fl; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.flow li { counter-increment: fl; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px 24px; }
.alt .flow li { background: var(--bg); }
.flow li::before { content: counter(fl); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 800; margin-bottom: 12px; }
.flow h3 { margin-bottom: 6px; }
.flow p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 0; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-family: var(--display); font-size: 0.86rem; color: var(--muted); }
.cmp td:first-child { font-weight: 650; }
.cmp .c { text-align: center; }
.cmp .yes { color: var(--blue-ink); font-weight: 800; }
.cmp .no { color: var(--faint); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.rel { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform 0.25s ease, border-color 0.25s ease; }
.rel:hover { transform: translateY(-3px); border-color: var(--blue); }
.rel span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.rel em { margin-top: 4px; color: var(--blue-ink); }
.rel em svg { width: 18px; height: 18px; }
.callbox { background: var(--blue-soft); border: 1px solid color-mix(in srgb, var(--blue) 25%, var(--line)); border-radius: var(--radius); padding: 22px 26px; }
.callbox p { color: var(--ink); line-height: 1.65; }
.callbox p + p { margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p { color: var(--muted); line-height: 1.6; font-size: 0.98rem; }
.contact-card .big { font-family: var(--display); font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; word-break: break-word; }
.pg .faq details { padding: 18px 0; }
.pg .faq p { max-width: 46em; }
.faq-groups h2 { font-size: 1.5rem; margin: 40px 0 6px; }
.faq-groups h2:first-child { margin-top: 0; }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.req div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.req div:nth-last-child(-n + 2) { border-bottom: 0; }
.req div:nth-child(odd) { font-weight: 700; background: color-mix(in srgb, var(--blue-soft) 55%, var(--surface)); }
.req div:nth-child(even) { color: var(--muted); }
.notify-inline { max-width: 520px; }
.notify-inline .notify-form { margin-top: 0; }
@media (max-width: 760px) {
  .page-hero { padding: 28px 0 28px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero .lead { font-size: 1rem; }
  .pg h2 { font-size: 1.55rem; }
  .copy p { font-size: 1rem; }
  .req { grid-template-columns: 1fr; }
  .req div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .req div:last-child { border-bottom: 0; }
  .cmp th, .cmp td { padding: 11px 12px; font-size: 0.9rem; }
  .hero-fig { display: none; }
  /* groups of cards become a row you swipe, so the page stays short on a phone */
  .fcards:not(.stack) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 2px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .fcards:not(.stack)::-webkit-scrollbar { display: none; }
  .fcards:not(.stack) > .fcard { flex: 0 0 80%; scroll-snap-align: start; padding: 20px; }
  .js .fcards:not(.stack) .rv { opacity: 1; transform: none; }
  .flow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
