/* ==========================================================================
   ARTICLE: 7 CHECKS BEFORE YOU BUY AN ODOO APP (scoped .vc-page)
   An inspection. Cool mist-blue paper, navy ink and cobalt marks, with a
   muted brick red kept only for red flags. The hero is a fine-line app
   listing under a magnifying lens (the glass redraws the listing larger with
   an SVG <use>), with the seven checks numbered around its rim. Check 6 has
   a working calculator. Note: the theme's root font-size is 20px.
   ========================================================================== */
.vc-page {
    --ink: #16213a;
    --soft: #56627a;
    --mute: #7c879b;
    --mist: #eef2f7;
    --cobalt: #2b55c9;
    --cobalt-t: rgba(43, 85, 201, .08);
    --flag: #a93d2b;
    --rule: rgba(22, 33, 58, .13);
    color: var(--ink);
    background: #fff;
}
.vc-page section { position: relative; }
.vc-page :is(h1, h2, h3) { margin: 0; color: inherit; text-wrap: balance; }
.vc-page p { margin: 0; text-wrap: pretty; }
.vc-page b { font-weight: 500; }
.vc-page a { color: inherit; }
.vc-page :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.vc-page :is(a, input):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.vc-header-bg { background: transparent !important; position: relative; z-index: 4; }

/* --- hero ------------------------------------------------------------------------------- */
.vc-page .vc-hero {
    margin-top: -120px; padding: 140px 0 4rem; overflow: hidden;
    background: radial-gradient(40rem 30rem at 78% 40%, rgba(43, 85, 201, .1), rgba(43, 85, 201, 0) 70%), linear-gradient(#f5f8fc, #e9eef6);
}
.vc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem 4rem; align-items: center; }
.vc-hero-copy { display: grid; gap: 1.3rem; }
.vc-crumbs { display: flex; gap: .55rem; margin-bottom: 1.2rem; color: var(--mute); font-size: .76rem; }
.vc-crumbs a { text-decoration: none; }
.vc-crumbs a:hover { color: var(--ink); }
.vc-page .vc-kicker { color: var(--cobalt); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.vc-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.04; letter-spacing: -.055em; }
.vc-hero h1 span { display: block; color: var(--cobalt); }
.vc-page .vc-lead { max-width: 32rem; color: var(--soft); font-size: 1rem; line-height: 1.65; }
.vc-page .vc-byline { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .78rem; }
.vc-byline span { padding-left: .9rem; border-left: 1px solid var(--rule); color: var(--soft); }

.vc-lens { display: block; width: 100%; height: auto; overflow: visible; }
.vc-card { fill: #fff; stroke: rgba(22, 33, 58, .16); stroke-width: 1.2; }
.vc-icon { fill: var(--cobalt-t); stroke: rgba(43, 85, 201, .45); }
.vc-fine { fill: none; stroke: var(--cobalt); stroke-width: 2.4; stroke-linecap: round; }
.vc-ink, .vc-soft { fill: none; stroke-linecap: round; }
.vc-ink { stroke: rgba(22, 33, 58, .72); stroke-width: 7; }
.vc-soft { stroke: rgba(22, 33, 58, .13); stroke-width: 6; }
.vc-stars circle { fill: var(--cobalt); opacity: .75; }
.vc-stars .is-off { fill: none; stroke: var(--cobalt); opacity: .5; }
.vc-chip { fill: none; stroke: rgba(22, 33, 58, .28); }
.vc-lens text { font-family: inherit; text-anchor: middle; }
.vc-text { fill: var(--ink); font-size: 14px; font-weight: 500; }
.vc-versions rect { fill: none; stroke: rgba(22, 33, 58, .22); }
.vc-versions .is-new { fill: var(--cobalt-t); stroke: var(--cobalt); }
.vc-versions text { fill: var(--soft); font-size: 12px; }
.vc-glass-bg { fill: #fff; }
.vc-rim { fill: rgba(43, 85, 201, .05); stroke: var(--cobalt); stroke-width: 3; }
.vc-rim-out { fill: none; stroke: rgba(43, 85, 201, .3); }
.vc-handle { fill: none; stroke: var(--ink); stroke-width: 15; stroke-linecap: round; }
.vc-ticks path { stroke: var(--cobalt); stroke-width: 2; }
.vc-ticks circle { fill: #fff; stroke: var(--cobalt); stroke-width: 1.2; transition: fill .2s ease; }
.vc-ticks text { fill: var(--cobalt); font-size: 13px; font-weight: 500; transition: fill .2s ease; }
.vc-ticks a:hover circle, .vc-ticks a:focus-visible circle { fill: var(--cobalt); }
.vc-ticks a:hover text, .vc-ticks a:focus-visible text { fill: #fff; }

/* --- the seven at a glance --------------------------------------------------------------- */
.vc-index { border-bottom: 1px solid var(--rule); background: #fff; }
.vc-index ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.vc-index li + li { border-left: 1px solid var(--rule); }
.vc-index a { display: grid; gap: .3rem; padding: 1.2rem 1rem; font-size: .84rem; line-height: 1.3; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.vc-index li:first-child a { padding-left: 0; }
.vc-index a b { color: var(--cobalt); font-size: .72rem; letter-spacing: .08em; }
.vc-index a:hover { color: var(--cobalt); }

/* --- intro ---------------------------------------------------------------------------------- */
.vc-narrow { max-width: 50rem; }
.vc-page .vc-intro { padding: 5rem 0 2rem; }
.vc-intro p { font-size: 1.35rem; font-weight: 300; line-height: 1.55; letter-spacing: -.025em; }

/* --- the checks ------------------------------------------------------------------------------ */
.vc-page .vc-checks { padding: 2rem 0 5rem; }
.vc-check { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem 3.5rem; padding: 3.2rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 4rem; }
.vc-page .vc-num { color: var(--cobalt); font-size: 4.4rem; font-weight: 300; line-height: .85; letter-spacing: -.07em; }
.vc-check-head { display: grid; align-content: start; gap: .9rem; }
.vc-check h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; }
.vc-check h2 span { display: block; margin-bottom: .55rem; color: var(--mute); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vc-check-head p { color: var(--soft); font-size: 1rem; line-height: 1.6; }
.vc-check-body { display: grid; align-content: start; gap: .2rem; }
.vc-check-body h3 { padding-bottom: .6rem; border-bottom: 1px solid var(--ink); color: var(--cobalt); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vc-check-body li { position: relative; display: grid; gap: .2rem; padding: .85rem 0 .85rem 1.7rem; border-bottom: 1px solid var(--rule); color: var(--soft); font-size: .86rem; line-height: 1.55; }
.vc-check-body li b { color: var(--ink); font-size: .92rem; }
/* A small cobalt tick, like an inspector's mark. */
.vc-check-body li::before { content: ""; position: absolute; left: .15rem; top: 1.1rem; width: .55rem; height: .3rem; border: solid var(--cobalt); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.vc-page .vc-note { display: grid; gap: .3rem; margin-top: 1.2rem; padding: .95rem 1.1rem; border-left: 2px solid var(--cobalt); background: var(--mist); font-size: .86rem; line-height: 1.55; }
.vc-note span { color: var(--cobalt); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vc-note.is-flag { border-left-color: var(--flag); background: rgba(169, 61, 43, .06); }
.vc-note.is-flag span { color: var(--flag); }

/* --- the numbers game ------------------------------------------------------------------------ */
.vc-maths { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 4rem; margin: .6rem 0 2.4rem; padding: 2.6rem 2.8rem; border-radius: .6rem; color: #fff; background: radial-gradient(30rem 20rem at 100% 0%, rgba(93, 130, 240, .3), rgba(93, 130, 240, 0) 70%), var(--ink); }
.vc-maths-copy { display: grid; align-content: start; gap: .9rem; }
.vc-maths h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.04em; }
.vc-maths-copy > p { color: #c3cbe0; font-size: .88rem; line-height: 1.6; }
.vc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: .6rem; }
.vc-fields label { display: grid; gap: .4rem; margin: 0; color: #c3cbe0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.vc-fields input { width: 100%; padding: .4rem 0; border: 0; border-bottom: 1px solid rgba(195, 203, 224, .5); border-radius: 0; background: none; color: #fff; font: inherit; font-size: 1.8rem; font-weight: 300; letter-spacing: -.04em; text-transform: none; }
.vc-fields input:focus { outline: none; border-bottom-color: #9db4ff; }
.vc-page .vc-assume { color: #8e98b3; font-size: .72rem; }
.vc-result { display: grid; align-content: center; gap: .2rem; padding-left: 2.6rem; border-left: 1px solid rgba(195, 203, 224, .25); color: #c3cbe0; font-size: .9rem; }
.vc-result b { color: #9db4ff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1.1; letter-spacing: -.05em; }

/* --- final thoughts ------------------------------------------------------------------------- */
.vc-page .vc-final { padding: 5.5rem 0; background: var(--mist); }
.vc-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 5rem; align-items: center; }
.vc-final-grid > div { display: grid; gap: 1.2rem; }
.vc-final h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -.05em; }
.vc-final p { color: var(--soft); font-size: .98rem; line-height: 1.7; }
.vc-final img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.vc-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.vc-page a.vc-btn { display: inline-block; padding: .8rem 1.4rem; border: 1px solid var(--ink); border-radius: .3rem; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.vc-page a.vc-btn:hover { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
.vc-page a.vc-btn.is-line { background: none; color: var(--ink); }
.vc-page a.vc-btn.is-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.vc-page .vc-back { padding-top: 2.4rem; padding-bottom: 4rem; font-size: .86rem; }
.vc-back a { text-decoration: none; }

/* --- smaller screens ------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .vc-check { grid-template-columns: 5rem minmax(0, 1fr); }
    .vc-check-body { grid-column: 2; }
}
@media (max-width: 991.98px) {
    .vc-hero-grid, .vc-maths, .vc-final-grid { grid-template-columns: minmax(0, 1fr); }
    .vc-lens { max-width: 34rem; margin: 0 auto; }
    .vc-index ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .vc-index li:nth-child(5) { border-left: 0; }
    .vc-index li:first-child a, .vc-index li:nth-child(5) a { padding-left: 0; }
    .vc-result { padding: 1.6rem 0 0; border-left: 0; border-top: 1px solid rgba(195, 203, 224, .25); }
}
@media (max-width: 767.98px) {
    .vc-page .vc-hero { padding-bottom: 2.5rem; }
    .vc-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vc-index li + li { border-left: 0; }
    .vc-index li { border-top: 1px solid var(--rule); }
    .vc-index li a { padding-left: 0 !important; }
    .vc-intro p { font-size: 1.12rem; }
    .vc-check { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 2.4rem 0; }
    .vc-check-body { grid-column: auto; }
    .vc-page .vc-num { font-size: 3rem; }
    .vc-maths { padding: 1.8rem 1.4rem; }
    .vc-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .vc-page *, .vc-page *::before, .vc-page *::after { transition: none !important; }
}
