/* The site's other pages in the new vocabulary: the pieces they share (tools/sub/kit.mjs writes their markup).
   Loaded after site.css and v.css, which hold the tokens, the type pieces, the header, the footer, the pills, the
   modals, the sections, the light page head (.phead), the rows (.rows/.row/.prose), the prices (#pricing), the FAQ
   (.faq) and the closing call to action (.closing). A page type's own pieces live in sub-<kind>.css.
   The design is the Vectura template's (its product, blog, blog post, case study and legal pages), measured at 1440
   and 390 px; every word and picture is Solovi's own. Phone below 760 px, tablet 760 to 1099, desktop from 1100. */

/* sections in a tone of their own */
.sec-soft { background: #f8f8f7; }
.sec-dark { background: var(--night); color: #fff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .sec-head p:not(.mono), .sec-dark .lede { color: rgba(255, 255, 255, .72); }
.sec + .sec:not(.sec-soft):not(.sec-dark):not(.faq):not(.plans):not(.ctasec) { padding-top: 0; }
.sec-head + * { margin-top: 40px; }
@media (min-width: 760px) { .sec-head + * { margin-top: 56px; } }
.stack { display: grid; gap: 16px; }
@media (min-width: 760px) { .stack { gap: 24px; } }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: rgba(0, 0, 0, .3); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs-dark ol { color: rgba(255, 255, 255, .66); }
.crumbs-dark li + li::before { color: rgba(255, 255, 255, .34); }
.crumbs-dark a:hover, .crumbs-dark [aria-current] { color: #fff; }
.phead .crumbs { margin-bottom: 6px; }

/* the photo hero: a rounded dark panel filled by a photograph, the words at its foot */
.phero { padding: calc(var(--nav-h) + 8px) var(--edge) 0; }
.phero-panel { position: relative; max-width: 1392px; margin: 0 auto; min-height: clamp(560px, calc(100svh - var(--nav-h) - 24px), 860px); border-radius: 16px; overflow: hidden; background: #15181c; color: #fff; display: flex; align-items: flex-end; }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 12, .18) 0%, rgba(8, 10, 12, .12) 34%, rgba(8, 10, 12, .74) 100%); }
@media (min-width: 1100px) { .phero-shade { background: linear-gradient(90deg, rgba(8, 10, 12, .66) 0%, rgba(8, 10, 12, .3) 50%, rgba(8, 10, 12, .08) 100%), linear-gradient(180deg, rgba(8, 10, 12, 0) 50%, rgba(8, 10, 12, .4) 100%); } }
.phero-in { position: relative; z-index: 1; width: 100%; padding: 120px 20px 24px; display: grid; gap: 28px; align-items: end; }
@media (min-width: 760px) { .phero-in { padding: 140px 40px 40px; } }
@media (min-width: 1100px) { .phero-in { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding: 160px 56px 56px; } }
.phero-words { display: grid; gap: 18px; justify-items: start; max-width: 820px; }
.phero h1 { color: #fff; font-weight: 300; font-size: var(--h1); line-height: 1.06; letter-spacing: -0.05em; }
.phero-lede { max-width: 640px; font-size: var(--lead); line-height: 1.4; color: rgba(255, 255, 255, .88); }
.phero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.phero-small { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .66); max-width: 560px; }
.phero-aside { align-self: end; }
@media (max-width: 759px) { .phero-ctas { width: 100%; } .phero-ctas .pill { width: 100%; height: auto; min-height: 54px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.2; } }

/* the feature panel: words beside a picture or a product card (Vectura's product page) */
.feat { display: grid; gap: 28px; padding: 24px; border-radius: 16px; background: var(--panel); align-items: center; }
@media (min-width: 760px) { .feat { padding: 40px; gap: 40px; } }
@media (min-width: 1100px) { .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 56px; } .feat-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .feat-flip .feat-media { order: -1; } }
.feat-cream { background: var(--cream); }
.feat-pale { background: var(--pale); }
.feat-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.feat-words { display: grid; gap: 16px; align-content: start; min-width: 0; }
.feat-words > .mono { margin-bottom: 2px; }
.feat-words h3 { font-size: var(--h3l); line-height: 1.2; letter-spacing: -0.02em; }
.feat-text { display: grid; gap: 14px; font-size: var(--body); line-height: 1.5; color: var(--text); }
.feat-text a, .cells a, .nsteps a, .card-text a, .band-text a, .cmp a { color: var(--ink); text-underline-offset: 3px; }
.feat-text strong { font-weight: 500; color: var(--ink); }
.feat-text ul { display: grid; gap: 8px; }
.feat-text li { position: relative; padding-left: 20px; }
.feat-text li::before { content: ''; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: var(--ink); }
.feat-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.feat-media { min-width: 0; }
.feat-media > .ph img, .feat-media > img { border-radius: 14px; }

/* small cells with an icon, a title and a line or two */
.cells { display: grid; gap: 16px; }
@media (min-width: 760px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cells-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cells-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cells > li { padding: 24px; border-radius: 14px; background: var(--panel); display: grid; gap: 12px; align-content: start; }
@media (min-width: 760px) { .cells > li { padding: 32px; } }
.cells > li > .i { width: 24px; height: 24px; margin-bottom: 8px; }
.cells h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.cells > li > div { display: grid; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text); }
.sec-dark .cells > li { background: rgba(255, 255, 255, .06); }
.sec-dark .cells > li > div { color: rgba(255, 255, 255, .72); }

/* a photograph in a frame */
.ph { position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: #e9e7e3; }
.ph figcaption { margin-top: 10px; font: 400 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(0, 0, 0, .6); }

/* a product card drawn in the page, always labelled */
.ill { position: relative; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 30px 70px -30px rgba(17, 24, 39, .32); overflow: hidden; color: var(--ink); text-align: left; }
.ill-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #efeeec; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 0, 0, .62); }
.ill-label { flex: none; padding: 5px 8px; border-radius: 6px; background: var(--cream); color: var(--ink); }
.ill-body { padding: 18px; display: grid; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text); }
@media (min-width: 760px) { .ill-body { padding: 22px 24px 24px; } }
.ill-body h4 { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.ill-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0efed; }
.ill-row:last-child { border-bottom: 0; }
.ill-row b { font-weight: 500; color: var(--ink); }
.ill-muted { font-size: 13px; color: rgba(0, 0, 0, .6); }
.ill-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 64px; background: #f3f2f0; font-size: 13px; color: var(--ink); }
.ill-pill-dark { background: var(--ink); color: #fff; }
.ill-pill-green { background: #e6f5ec; color: #16794a; }
.ill-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 64px; background: var(--ink); color: #fff; font-size: 15px; }
.ill-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ill-on-dark { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }

/* numbered steps */
.nsteps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .nsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .nsteps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); } }
.nsteps > li { padding: 28px 24px; border-radius: 16px; background: var(--panel); display: grid; gap: 12px; align-content: start; }
@media (min-width: 760px) { .nsteps > li { padding: 36px 32px; } }
.nsteps > li > .mono { color: rgba(0, 0, 0, .55); }
.nsteps h3 { font-size: var(--h3m); line-height: 1.2; letter-spacing: -0.02em; }
.nsteps > li > div { display: grid; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text); }
@media (min-width: 760px) { .nsteps > li > div { font-size: 17px; } }

/* a table of facts */
.dtable-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.dtable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.45; color: var(--text); }
.dtable caption { padding: 20px 24px 0; text-align: left; font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 0, 0, .6); caption-side: top; }
.dtable th, .dtable td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #efeeec; }
@media (min-width: 760px) { .dtable { font-size: 17px; } .dtable th, .dtable td { padding: 18px 24px; } }
.dtable thead th { font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 0, 0, .62); background: #fbfaf9; }
.dtable tbody th { font-weight: 500; color: var(--ink); }
.dtable tbody tr:last-child > * { border-bottom: 0; }
.dtable .hl { background: var(--pale-2); color: var(--ink); }
.dtable thead .hl { background: var(--pale); color: var(--ink); }
.dtable-note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: rgba(0, 0, 0, .62); }
.dtable a { color: var(--ink); text-underline-offset: 3px; }

/* the other way and ours, side by side (Vectura's "moving to" comparison) */
.cmp { display: grid; gap: 16px; }
@media (min-width: 760px) { .cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cmp-card { padding: 28px 24px; border-radius: 16px; display: grid; gap: 20px; align-content: start; }
@media (min-width: 760px) { .cmp-card { padding: 40px; } }
.cmp-card h3 { font-size: var(--h3m); line-height: 1.2; letter-spacing: -0.02em; }
.cmp-card ul { display: grid; gap: 14px; }
.cmp-card li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
@media (min-width: 760px) { .cmp-card li { font-size: 17px; } }
.cmp-card li .i { margin-top: 3px; width: 18px; height: 18px; }
.cmp-them { background: var(--night); color: rgba(255, 255, 255, .78); }
.cmp-them h3 { color: #fff; }
.cmp-them li .i { color: rgba(255, 255, 255, .45); }
.cmp-us { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-us li .i { color: var(--green); stroke-width: 2.2; }
.cmp-foot { font-size: 14px; line-height: 1.5; opacity: .8; }

/* cards that link somewhere (Vectura's blog and case study grids) */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; border-radius: 16px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e7e3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 20px 24px; display: grid; gap: 12px; align-content: start; flex: 1; }
@media (min-width: 760px) { .card-body { padding: 24px 24px 28px; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { padding: 6px 9px; border-radius: 8px; font: 400 11px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); color: var(--text); }
.card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card h3 a:focus-visible::after { outline: 2px solid #2563eb; outline-offset: -2px; border-radius: 16px; }
.card-text { font-size: 16px; line-height: 1.5; color: var(--text); }
.card-cta { margin-top: auto; padding-top: 4px; font-size: 15px; color: var(--ink); }

/* a short dark band */
.band { padding: 32px 24px; border-radius: 16px; background: var(--night); color: #fff; display: grid; gap: 16px; justify-items: start; }
@media (min-width: 760px) { .band { padding: 48px; } }
@media (min-width: 1100px) { .band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 56px; padding: 56px; } .band > .mono, .band > h2, .band-text { grid-column: 1; } .band-ctas { grid-column: 2; grid-row: 1 / span 3; align-self: center; } }
.band h2 { color: #fff; font-size: var(--h3l); line-height: 1.2; letter-spacing: -0.02em; max-width: 760px; }
.band-text { display: grid; gap: 12px; max-width: 720px; font-size: var(--body); line-height: 1.5; color: rgba(255, 255, 255, .8); }
.band-text a { color: #fff; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 759px) { .band-ctas { width: 100%; } .band-ctas .pill { width: 100%; height: auto; min-height: 54px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.2; } }

/* numbers the page states */
.sstats { display: grid; gap: 1px; border-radius: 16px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 760px) { .sstats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.sstats li { padding: 28px 24px; background: #fff; display: grid; gap: 10px; align-content: start; }
.sstats strong { font-weight: 400; font-size: var(--stat); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.sstats span { font-size: 16px; line-height: 1.4; color: var(--text); }

/* links set as pills */
.lpills { display: flex; flex-wrap: wrap; gap: 10px; }
.lpills .pill { height: 44px; padding: 0 18px; font-size: 15px; }

/* a note set apart */
.aside-note { padding: 20px 24px; border-radius: 14px; background: #f8f8f7; font-size: 15px; line-height: 1.55; color: rgba(0, 0, 0, .7); }
.aside-note a { color: var(--ink); }

/* an article: the contents beside the body (Vectura's blog post and legal pages) */
.art { max-width: 1360px; margin: 0 auto; display: grid; gap: 40px; }
@media (min-width: 1100px) { .art { grid-template-columns: 300px minmax(0, 1fr); column-gap: 88px; } }
.art-aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1100px) { .art-aside { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; } }
@media (max-width: 1099px) { .art-aside { padding: 24px; border-radius: 16px; background: var(--panel); } }
.toc .mono { color: rgba(0, 0, 0, .6); }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .i { transition: transform .3s var(--ease); }
.toc details[open] summary .i { transform: rotate(180deg); }
.toc details[open] summary { margin-bottom: 14px; }
@media (min-width: 1100px) { .toc summary { pointer-events: none; } .toc summary .i { display: none; } }
.toc ol { display: grid; gap: 10px; }
.toc a { display: block; font-size: 16px; line-height: 1.4; color: rgba(0, 0, 0, .6); text-decoration: none; transition: color .2s; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.art-body { min-width: 0; max-width: 780px; font-size: var(--body); line-height: 1.65; color: var(--text); }
.art-body > * + * { margin-top: 20px; }
.art-body h2 { margin-top: 56px; font-size: clamp(26px, 22px + 1vw, 34px); line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
.art-body h3 { margin-top: 36px; font-size: clamp(21px, 19px + .5vw, 24px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: calc(var(--nav-h) + 24px); }
.art-body h4 { margin-top: 28px; font-size: 19px; font-weight: 500; color: var(--ink); }
.art-body h2 + *, .art-body h3 + *, .art-body h4 + * { margin-top: 14px; }
.art-body > :first-child { margin-top: 0; }
.art-body a { color: var(--ink); text-underline-offset: 3px; }
.art-body a:hover { color: var(--hover); }
.art-body strong, .art-body b { font-weight: 500; color: var(--ink); }
.art-body ul, .art-body ol { padding-left: 1.3em; display: grid; gap: 10px; }
.art-body ul { list-style: disc; }
.art-body ol { list-style: decimal; }
.art-body li::marker { color: rgba(0, 0, 0, .5); }
.art-body li > ul, .art-body li > ol { margin-top: 8px; }
.art-body blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); font-size: var(--lead); line-height: 1.5; color: var(--ink); }
.art-body figure img, .art-body > img, .art-body p > img { border-radius: 14px; width: 100%; height: auto; }
.art-body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: rgba(0, 0, 0, .6); }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.art-body code { font: 400 .9em/1 var(--mono); padding: 2px 5px; border-radius: 5px; background: #f3f2f0; }
.art-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.art-body .tbl { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.art-body .tbl table { min-width: 520px; }
.art-body th, .art-body td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #efeeec; }
.art-body thead th { font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 0, 0, .62); background: #fbfaf9; }
.art-body tbody tr:last-child > * { border-bottom: 0; }
.art-body .callout { padding: 22px 24px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.art-body .callout > * + * { margin-top: 10px; }

/* an article's head (Vectura's blog post): chips, the title, the lede, the byline and the cover */
.ahead { padding: calc(var(--nav-h) + 40px) var(--pad) 32px; }
@media (min-width: 760px) { .ahead { padding: calc(var(--nav-h) + 72px) var(--pad) 48px; } }
.ahead-in { max-width: 1360px; margin: 0 auto; display: grid; gap: 20px; justify-items: start; }
.ahead h1 { max-width: 1000px; font-weight: 400; font-size: var(--h2); line-height: 1.1; letter-spacing: -0.04em; }
.ahead .lede { max-width: 760px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.byline .logo { font-size: 18px; width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.byline b { display: block; font-weight: 500; color: var(--ink); }
.ahead-cover { max-width: 1360px; margin: 8px auto 0; }
.ahead-cover img { width: 100%; height: auto; max-height: 680px; object-fit: cover; border-radius: 16px; }

/* the dark ground under a heading on a dark section */
.sec-dark .crumbs ol { color: rgba(255, 255, 255, .66); }

/* reduced motion: nothing grows on hover */
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } .card:hover .card-img img { transform: none; } }
