/* =========================================================
   Stackvixo v3 — light, colourful, product-led redesign
   (same indigo/violet palette). Loaded after style.css; every rule is
   scoped to body.v3 so unmigrated pages are untouched.

   System: 1280px container · light page, colour carried by gradient bands
   and tiles · no stock photos · few boxes (rows, hairlines, colour blocks)
   · one section template (left head + optional right link).
   ========================================================= */
body.v3 {
  --radius: 16px;
  --soft: #f5f6ff;
  --grad-band: linear-gradient(135deg, #3f37c9 0%, #5b3fd9 55%, #7a45e8 100%);
  --shadow: 0 18px 40px -22px rgba(15,13,36,.3);
  --shadow-lg: 0 40px 70px -34px rgba(46,38,140,.45);
  --space-section: 64px;
  --brand-hover: #4338ca;
  font-size: .975rem;
}
.v3 .container { max-width: 1280px; }

/* ---------- Type ---------- */
.v3 h1, .v3 h2, .v3 h3 { font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.v3 h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; }
.v3 h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.18; }
.v3 h3 { font-size: 1.02rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.v3 .lead { font-size: 1.08rem; line-height: 1.6; max-width: 50ch; }
.v3 p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.v3 .btn { border-radius: 10px; padding: 12px 20px; font-size: .94rem; font-weight: 600; box-shadow: none; }
.v3 .btn-primary { background: var(--brand); color: #fff; }
.v3 .btn-primary:hover { background: var(--brand-hover); color: #fff; transform: none; }
.v3 .btn-ghost { background: #fff; border-color: #cfd4e0; color: var(--ink); box-shadow: none; }
.v3 .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.v3 .btn-white { background: #fff; color: var(--brand); }
.v3 .btn-white:hover { background: var(--brand-50); color: var(--brand); transform: none; box-shadow: none; }
.v3 .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.v3 .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.v3 .site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.v3 .nav { height: 62px; }
.v3 .nav-links > li > a { color: var(--text); font-weight: 500; font-size: .92rem; padding: 7px 12px; }
.v3 .nav-links > li > a:hover { color: var(--brand); background: var(--brand-50); }
.v3 .nav-links .btn { background: var(--brand) !important; color: #fff !important; padding: 9px 18px; margin-left: 12px; font-size: .9rem; }
.v3 .nav-links .btn:hover { background: var(--brand-hover) !important; }
.v3 .menu { border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- Section template ---------- */
.v3 section { padding: var(--space-section) 0; }
.v3 .section-soft { background: var(--soft); }
.v3 .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; }
.v3 .sec-title { max-width: 760px; }
.v3 .sec-title h2 { margin: 0 0 8px; }
.v3 .sec-title p { margin: 0; font-size: .98rem; color: var(--muted); }
.v3 .sec-link { flex: 0 0 auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem; color: var(--brand); text-decoration: none; padding: 8px 0; white-space: nowrap; }
.v3 .sec-link span { transition: transform .2s; }
.v3 .sec-link:hover span { transform: translateX(4px); }
.v3 .kicker { display: block; padding: 0; background: none; border: 0; border-radius: 0; margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--brand); }
.v3 .kicker::before { display: none; }

/* ---------- Hero: light, with a product visual ---------- */
.v3 .hero3 { position: relative; padding: 52px 0 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(720px 420px at 92% 0%, rgba(99,102,241,.16), transparent 70%), radial-gradient(520px 320px at 0% 100%, rgba(139,92,246,.1), transparent 70%), linear-gradient(180deg, #f3f4ff 0%, #fff 100%); }
.v3 .hero3-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.v3 .hero3-grid > * { min-width: 0; }
.v3 .eyebrow { display: inline-block; margin-bottom: 14px; font: 700 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.v3 .hero3 .accent { background: linear-gradient(90deg, #4f46e5, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3 .hero3 .hero-actions { margin-top: 24px; }
.v3 .proof { display: grid; grid-template-columns: repeat(4, 1fr); margin: 44px 0 0; padding: 0; border-top: 1px solid var(--line); }
.v3 .proof > div { padding: 20px 24px 22px 0; }
.v3 .proof > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.v3 .proof dt { font: 700 1.6rem/1.1 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.v3 .proof dd { margin: 3px 0 0; font-size: .86rem; color: var(--muted); }

/* Product visual (decorative, built in HTML/CSS) */
.v3 .mock { position: relative; height: 430px; max-width: 640px; margin-left: auto; width: 100%; }
.v3 .mock-win { position: absolute; inset: 0 56px 36px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.v3 .mock-bar { flex: 0 0 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #f3f4fa; border-bottom: 1px solid var(--line); }
.v3 .mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d8e4; }
.v3 .mock-bar i:nth-child(1) { background: #ff5f57; } .v3 .mock-bar i:nth-child(2) { background: #febc2e; } .v3 .mock-bar i:nth-child(3) { background: #28c840; }
.v3 .mock-url { margin-left: 10px; flex: 1; height: 20px; padding: 0 10px; border-radius: 10px; background: #fff; font: 500 .66rem/20px var(--mono); color: #8a93a6; }
.v3 .mock-body { flex: 1; display: grid; grid-template-columns: 54px 1fr; min-height: 0; }
.v3 .mock-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; background: #fafbff; border-right: 1px solid var(--line); }
.v3 .mock-side i { height: 34px; border-radius: 9px; background: var(--brand-50); }
.v3 .mock-side i:first-child { background: var(--brand); }
.v3 .mock-main { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; min-height: 0; }
.v3 .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v3 .kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.v3 .kpi small { display: block; font-size: .66rem; color: var(--muted); }
.v3 .kpi b { display: block; font: 700 1.15rem/1.3 var(--font-head); color: var(--ink); }
.v3 .kpi em { font-style: normal; font-size: .68rem; font-weight: 600; color: #16a34a; }
.v3 .chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 14px 14px 0; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, #fff, #f8f9ff); }
.v3 .chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #7c6cf0, #c7d2fe); }
.v3 .chart i:nth-child(1) { height: 32%; } .v3 .chart i:nth-child(2) { height: 46%; } .v3 .chart i:nth-child(3) { height: 40%; } .v3 .chart i:nth-child(4) { height: 62%; }
.v3 .chart i:nth-child(5) { height: 55%; } .v3 .chart i:nth-child(6) { height: 74%; } .v3 .chart i:nth-child(7) { height: 68%; } .v3 .chart i:nth-child(8) { height: 90%; }
.v3 .mock-phone { position: absolute; right: 0; bottom: 0; width: 140px; height: 244px; padding: 8px; background: var(--ink); border-radius: 28px; box-shadow: var(--shadow-lg); }
.v3 .mock-screen { height: 100%; border-radius: 21px; background: #fff; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.v3 .mock-screen .hd { height: 52px; border-radius: 12px; background: var(--grad-band); }
.v3 .mock-screen .row { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; background: #f4f5fb; }
.v3 .mock-screen .row::before { content: ""; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--brand-200); }
.v3 .mock-screen .row i { flex: 1; height: 7px; border-radius: 4px; background: #cfd4e4; }
.v3 .mock-screen .cta { margin-top: auto; height: 32px; border-radius: 10px; background: var(--brand); }
.v3 .mock-pill { position: absolute; left: -16px; bottom: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font: 600 .8rem var(--font); color: var(--ink); }
.v3 .mock-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* ---------- Services: editorial rows ---------- */
.v3 .svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v3 .svc { display: grid; grid-template-columns: 56px 1.9fr 1fr 40px; gap: 20px; align-items: center; padding: 20px 14px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.v3 .svc:hover { background: var(--soft); }
.v3 .svc-n { font: 600 .85rem var(--mono); color: #9aa1b5; }
.v3 .svc-main strong { display: block; font: 700 1.3rem/1.2 var(--font-head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; transition: color .2s; }
.v3 .svc:hover .svc-main strong { color: var(--brand); }
.v3 .svc-main span { color: var(--muted); font-size: .94rem; }
.v3 .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v3 .svc-tags span { font: 500 .74rem var(--mono); color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.v3 .svc-go { justify-self: end; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d5d9e6; display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.v3 .svc:hover .svc-go { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(3px); }

/* ---------- Why: gradient band ---------- */
.v3 .band { background: var(--grad-band); color: #dfe3ff; position: relative; overflow: hidden; isolation: isolate; }
.v3 .band::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); }
.v3 .band::after { content: ""; position: absolute; z-index: -1; left: -140px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.18), transparent 65%); }
.v3 .band .kicker { color: #a5f3fc; }
.v3 .band h2, .v3 .band strong { color: #fff; }
.v3 .band .sec-title p { color: #d3d8ff; }
.v3 .band .sec-link { color: #fff; }
.v3 .why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.v3 .why-list li { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: start; }
.v3 .why-list .ti { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; }
.v3 .why-list .ti svg { width: 20px; height: 20px; }
.v3 .why-list strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.v3 .why-list p { margin: 0; font-size: .9rem; line-height: 1.5; color: #d3d8ff; }
.v3 .band-actions { margin-top: 10px; }

/* ---------- Certifications ---------- */
.v3 .cert-grid { align-items: stretch; }
.v3 .cert { box-shadow: none; height: 100%; align-items: flex-start; padding: 16px 20px; }
.v3 .cert-badge { flex-basis: 52px; height: 52px; font-size: .68rem; }
.v3 .cert p { min-height: 3.3em; }
.v3 .cert h3 { min-height: 1.3em; }

/* ---------- Stack: six equal groups, each a 3x2 chip grid ---------- */
.v3 .stack3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; }
.v3 .stack3 > div { min-width: 0; padding-top: 18px; border-top: 1px solid #dcdff0; position: relative; }
.v3 .stack3 > div::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.v3 .stack3 h3 { margin: 0 0 14px; font-size: 1rem; }
.v3 .stack3 .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.v3 .stack3 .chip { display: block; text-align: center; padding: 8px 6px; font-size: .76rem; background: #fff; box-shadow: none; border: 1px solid #e1e4f1; border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s, color .2s; }
.v3 .stack3 > div:hover .chip { border-color: var(--brand-200); }
.v3 .stack3 .chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Industries: open grid ---------- */
.v3 .ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.v3 .ind { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.v3 .ind .ti { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .2s, color .2s; }
.v3 .ind:hover .ti { background: var(--brand); color: #fff; }
.v3 .ind .ti svg { width: 20px; height: 20px; }
.v3 .ind h3 { margin: 0 0 3px; }
.v3 .ind h3 a { color: inherit; text-decoration: none; }
.v3 .ind h3 a::before { content: ""; position: absolute; inset: 0; }
.v3 .ind p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Academy: colour tiles ---------- */
.v3 .acad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v3 .atile { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 22px; border-radius: var(--radius); color: #fff; overflow: hidden; isolation: isolate; transition: transform .2s, box-shadow .2s; }
.v3 .atile::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.12); }
.v3 .atile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v3 .atile.g1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.v3 .atile.g2 { background: linear-gradient(135deg, #1d4ed8, #4f46e5); }
.v3 .atile.g3 { background: linear-gradient(135deg, #3730a3, #5b3fd9); }
.v3 .atile.g4 { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.v3 .atile .tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 16px; }
.v3 .atile .tag { margin: 0; background: rgba(255,255,255,.2); color: #fff; font-size: .7rem; }
.v3 .atile h3 { margin: 0 0 8px; font-size: 1.12rem; color: #fff; }
.v3 .atile h3 a { color: inherit; text-decoration: none; }
.v3 .atile h3 a::before { content: ""; position: absolute; inset: 0; }
.v3 .atile p { margin: 0; font-size: .86rem; line-height: 1.5; color: rgba(255,255,255,.86); }
.v3 .atile .more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .88rem; }
.v3 .atile .more::after { content: " →"; }

/* ---------- Blog: colour covers ---------- */
.v3 .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v3 .post { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.v3 .post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.v3 .cover { position: relative; height: 120px; display: flex; align-items: flex-end; padding: 16px 20px; color: #fff; font: 700 1.05rem var(--font-head); letter-spacing: -.01em; overflow: hidden; isolation: isolate; }
.v3 .cover::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.14); }
.v3 .cv1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.v3 .cv2 { background: linear-gradient(135deg, #1d4ed8, #4f46e5); }
.v3 .cv3 { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.v3 .post .body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.v3 .post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 8px; font-size: .78rem; color: var(--muted); }
.v3 .post h3 { margin: 0 0 6px; font-size: 1.02rem; }
.v3 .post h3 a { color: inherit; text-decoration: none; }
.v3 .post h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.v3 .post p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.v3 .post .more { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .88rem; color: var(--brand); }
.v3 .post .more::after { content: " →"; }

/* ---------- CTA: gradient ---------- */
.v3 .cta-section { padding-top: 0; padding-bottom: 48px; }
.v3 .cta-band { background: var(--grad-band); border-radius: 20px; padding: 36px 44px; box-shadow: var(--shadow-lg); }
.v3 .cta-band::before { display: none; }
.v3 .cta-band::after { width: 460px; height: 460px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 65%); }
.v3 .cta-band h2 { font-size: 1.6rem; margin-bottom: 4px; }
.v3 .cta-band p { color: #dfe3ff; font-size: .96rem; }
.v3 .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer: small, compact, aligned ---------- */
.v3 .site-footer { padding-top: 0; font-size: .84rem; }
.v3 .site-footer::before { opacity: .55; }
.v3 .f-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 40px 0 28px; gap: 32px; }
.v3 .f-brand p { margin: 12px 0 14px; font-size: .84rem; line-height: 1.55; }
.v3 .f-brand .brand .logo { width: 32px; height: 32px; }
.v3 .f-brand .wordmark { font-size: 1.2rem; }
.v3 .f-contact { gap: 8px; }
.v3 .f-contact li { font-size: .84rem; gap: 10px; }
.v3 .f-contact svg { width: 15px; height: 15px; flex-basis: 15px; }
.v3 .f-hours small { font-size: .74rem; }
.v3 .f-col h3 { height: auto; margin-bottom: 12px; font-size: .7rem; letter-spacing: .12em; }
.v3 .f-col ul { gap: 7px; }
.v3 .f-col li, .v3 .f-col a { font-size: .84rem; line-height: 1.4; }
.v3 .f-news { padding: 16px 0; gap: 32px; grid-template-columns: 1.4fr 3fr; }
.v3 .f-news > form { grid-column: auto; align-self: center; }
.v3 .f-news h3 { font-size: .95rem; margin-bottom: 2px; }
.v3 .f-news p, .v3 .f-news .form-note { font-size: .78rem; }
.v3 .f-news .form-note { margin-top: 6px; }
.v3 .site-footer .f-news .inline-form input { padding: 9px 14px; font-size: .85rem; }
.v3 .site-footer .f-news .btn { padding: 9px 16px; font-size: .85rem; }
.v3 .f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0 16px; font-size: .78rem; }
.v3 .f-bottom-right { display: flex; align-items: center; gap: 20px; }
.v3 .f-bottom .f-legal { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; grid-column: auto; }
.v3 .f-bottom .socials { margin: 0; grid-column: auto; gap: 8px; }
.v3 .socials a { width: 30px; height: 30px; border-radius: 8px; }
.v3 .socials svg { width: 14px; height: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .v3 .acad { grid-template-columns: 1fr 1fr; }
  .v3 .why-list, .v3 .stack3, .v3 .ind-grid { grid-template-columns: 1fr 1fr; }
  .v3 .stack3 { gap: 28px 32px; }
  .v3 .svc { grid-template-columns: 44px 1.4fr 1fr 36px; }
}
@media (max-width: 1024px) {
  .v3 { --space-section: 48px; }
  .v3 .hero3 { padding-top: 36px; }
  .v3 .hero3-grid { grid-template-columns: 1fr; gap: 36px; }
  .v3 .mock { margin: 0 auto; }
  .v3 .proof { grid-template-columns: 1fr 1fr; }
  .v3 .proof > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .v3 .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v3 .posts { grid-template-columns: 1fr 1fr; }
  .v3 .f-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .v3 .f-news { grid-template-columns: 1fr; gap: 12px; }
  .v3 .f-bottom { flex-direction: column; text-align: center; }
  .v3 .f-bottom-right { flex-direction: column; gap: 14px; }
  .v3 .f-bottom .f-legal { justify-content: center; }
}
@media (max-width: 760px) {
  .v3 .sec-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 22px; }
  .v3 .sec-link { padding: 4px 0; }
  .v3 .svc { grid-template-columns: 1fr 36px; gap: 8px 12px; padding: 18px 4px; }
  .v3 .svc-n { display: none; }
  .v3 .svc-main { grid-column: 1; }
  .v3 .svc-tags { grid-column: 1; grid-row: 2; }
  .v3 .svc-go { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) {
  .v3 { --space-section: 40px; }
  .v3 .hero3 { padding-top: 28px; }
  .v3 .mock { height: 330px; }
  .v3 .mock-win { inset: 0 44px 28px 0; }
  .v3 .mock-main { padding: 12px; }
  .v3 .kpi { padding: 8px; } .v3 .kpi b { font-size: .95rem; }
  .v3 .mock-phone { width: 96px; height: 168px; border-radius: 20px; padding: 5px; }
  .v3 .mock-screen { border-radius: 15px; padding: 8px 7px; gap: 6px; }
  .v3 .mock-screen .hd { height: 26px; }
  .v3 .mock-pill { display: none; }
  .v3 .proof > div { padding: 14px 12px 16px 0; }
  .v3 .proof dt { font-size: 1.3rem; }
  .v3 .acad, .v3 .why-list, .v3 .stack3, .v3 .ind-grid, .v3 .posts { grid-template-columns: 1fr; }
  .v3 .atile { min-height: 0; }
  .v3 .cta-band { padding: 26px 22px; }
  .v3 .cta-actions, .v3 .cta-actions .btn { width: 100%; }
  .v3 .f-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Inner pages: bring the older components into the v3 system
   ========================================================= */

/* Section heads: always left-aligned, like the home page */
.v3 .section-head, .v3 .section-head.center { max-width: 760px; margin: 0 0 30px; text-align: left; }
.v3 .section-head h2 { margin: 0 0 8px; }
.v3 .section-head p { margin: 0; font-size: .98rem; color: var(--muted); }
.v3 .section-actions { justify-content: flex-start; margin-top: 28px; }

/* Page hero: light, compact, no grid lines */
.v3 .page-hero { padding: 40px 0 48px; border-bottom: 0; isolation: isolate;
  background: radial-gradient(640px 360px at 92% 0%, rgba(99,102,241,.14), transparent 70%), radial-gradient(480px 300px at 0% 100%, rgba(139,92,246,.08), transparent 70%), linear-gradient(180deg, #f3f4ff 0%, #fff 100%); }
.v3 .page-hero::before, .v3 .page-hero::after { display: none; }
.v3 .page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; }
.v3 .page-hero .lead { max-width: 56ch; }
.v3 .hero-split, .v3 .hero-grid { gap: 44px; }
.v3 .breadcrumb { margin-bottom: 14px; font-size: .85rem; }
.v3 .hero-media { border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* Dark areas become the brand gradient */
.v3 .section-dark { background: var(--grad-band); color: #dfe3ff; }
.v3 .section-dark::before { background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.16), transparent 45%), radial-gradient(circle at 0% 100%, rgba(34,211,238,.16), transparent 45%); }
.v3 .section-dark .kicker { color: #a5f3fc; }
.v3 .section-dark .section-head p { color: #d3d8ff; }
.v3 .visual-panel { background: var(--grad-band); border-radius: 18px; box-shadow: var(--shadow-lg); }
.v3 .visual-panel::before { background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.16), transparent 50%), radial-gradient(circle at 0% 100%, rgba(34,211,238,.14), transparent 50%); }
.v3 .metric { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.v3 .metric-check::before { color: #a5f3fc; }
.v3 .in-practice { color: #a5f3fc !important; }

/* Cards: flat, same radius and hover as the home page */
.v3 .card { border-radius: var(--radius); box-shadow: none; }
.v3 .card::after { display: none; }
.v3 .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.v3 .card-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.v3 .card-glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); box-shadow: none; }
.v3 .icon { background: var(--brand-50); color: var(--brand); box-shadow: none; border-radius: 12px; }
.v3 .card-glass .icon, .v3 .visual-panel .icon, .v3 .section-dark .icon, .v3 .band .icon { background: rgba(255,255,255,.16); color: #fff; }
.v3 .tag { background: var(--brand-50); color: var(--brand); }
.v3 .tag-green { background: #dcfce7; color: #15803d; }
.v3 .facts-band .fact, .v3 .fact { border-radius: 12px; box-shadow: none; }

/* Card thumbnails: colour covers instead of stock photos / clip-art */
.v3 .card-media .thumb { aspect-ratio: auto; height: 104px; background: var(--grad-band); isolation: isolate; }
.v3 .card-media .thumb > img, .v3 .card-media .thumb > svg, .v3 .card-media .thumb > picture { display: none; }
.v3 .card-media .thumb::after { display: block; content: ""; position: absolute; z-index: -1; right: -40px; top: -50px; left: auto; bottom: auto; inset: auto; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.14); }
.v3 .card-media .thumb .icon { top: auto; bottom: 16px; left: 18px; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.2); color: #fff; }
.v3 .grid > .card-media:nth-child(3n+2) .thumb { background: linear-gradient(135deg, #1d4ed8, #4f46e5); }
.v3 .grid > .card-media:nth-child(3n) .thumb { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.v3 .card-media:hover .thumb > img { transform: none; }
.v3 .card-media .body { padding: 20px 22px 22px; }

/* Article / inline images: slim colour banner */
.v3 .media { height: 150px; border-radius: 16px; box-shadow: none; background: var(--grad-band); }
.v3 .media > picture, .v3 .media > img, .v3 .media > svg, .v3 .media .media-badge { display: none; }
.v3 .article .media { display: none; }

/* Story panel (replaces photos on About / Academy) */
.v3 .story-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 34px 34px 30px; background: var(--grad-band); color: #dfe3ff; box-shadow: var(--shadow-lg); }
.v3 .story-panel::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 65%); }
.v3 .story-panel b { display: block; font: 800 3.4rem/1 var(--font-head); letter-spacing: -.03em; color: #fff; }
.v3 .story-panel > span { display: block; margin: 4px 0 18px; font-weight: 600; color: #fff; }
.v3 .story-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v3 .story-panel li { position: relative; padding: 10px 0 0 24px; border-top: 1px solid rgba(255,255,255,.22); font-size: .94rem; }
.v3 .story-panel li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: #a5f3fc; font-weight: 700; }

/* Forms, FAQ, tables: match radius/borders */
.v3 .form-card { border-radius: 18px; box-shadow: var(--shadow); }
.v3 .faq details { border-radius: 12px; }
.v3 .cta-band { margin: 0; }

/* ---------- Page-specific hero visuals (inner pages) ---------- */
.v3 .vis { position: relative; width: 100%; max-width: 560px; margin-left: auto; padding-bottom: 18px; }
.v3 .vis-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.v3 .vis-head { display: flex; align-items: center; gap: 6px; padding: 11px 16px; background: #f3f4fa; border-bottom: 1px solid var(--line); }
.v3 .vis-head i { width: 9px; height: 9px; border-radius: 50%; background: #d4d8e4; flex: 0 0 9px; }
.v3 .vis-head i:nth-child(1) { background: #ff5f57; } .v3 .vis-head i:nth-child(2) { background: #febc2e; } .v3 .vis-head i:nth-child(3) { background: #28c840; }
.v3 .vis-head span { margin-left: 8px; font: 600 .8rem var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3 .vis-body { padding: 16px 18px 18px; }
.v3 .vlabel { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.v3 .vlabel b { font: 700 .95rem var(--font-head); color: var(--ink); }
.v3 .vlabel span { font-size: .76rem; color: var(--muted); }
.v3 .vprog { height: 7px; border-radius: 7px; background: #e8eaf8; overflow: hidden; margin-bottom: 14px; }
.v3 .vprog i { display: block; width: 38%; height: 100%; border-radius: 7px; background: var(--grad-band); }
.v3 .vrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.v3 .vrow .n { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font: 700 .8rem var(--mono); }
.v3 .vrow .n.n-ok { background: #dcfce7; color: #16a34a; }
.v3 .vrow .n svg, .v3 .vrow .ok svg { width: 15px; height: 15px; }
.v3 .vrow .t { min-width: 0; }
.v3 .vrow b { display: block; font-size: .88rem; line-height: 1.3; color: var(--ink); font-weight: 600; }
.v3 .vrow small { display: block; margin-top: 1px; font-size: .74rem; color: var(--muted); }
.v3 .vrow .ok { margin-left: auto; color: #16a34a; }
.v3 .vmore { padding: 6px 2px 0; font-size: .8rem; font-weight: 600; color: var(--brand); }
.v3 .vtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.v3 .vtags span { font: 500 .72rem var(--mono); color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.v3 .vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v3 .vtile { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 12px; }
.v3 .vtile .n { font: 600 .74rem var(--mono); color: #9aa1b5; }
.v3 .vtile b { font-size: .88rem; color: var(--ink); }
.v3 .chat { display: grid; gap: 8px; margin-bottom: 12px; }
.v3 .bub { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.4; }
.v3 .bub.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.v3 .bub.ai { background: #f1f2fb; color: var(--ink); border-bottom-left-radius: 4px; }
.v3 .vchart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 10px 12px 0; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, #fff, #f8f9ff); }
.v3 .vchart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #7c6cf0, #c7d2fe); }
.v3 .vchart i:nth-child(1) { height: 40%; } .v3 .vchart i:nth-child(2) { height: 58%; } .v3 .vchart i:nth-child(3) { height: 48%; }
.v3 .vchart i:nth-child(4) { height: 72%; } .v3 .vchart i:nth-child(5) { height: 64%; } .v3 .vchart i:nth-child(6) { height: 92%; }
.v3 .vis-chip { position: absolute; right: -10px; bottom: 0; padding: 10px 16px; border-radius: 12px; background: var(--grad-band); color: #fff; font: 600 .8rem var(--font); box-shadow: var(--shadow); }
@media (max-width: 1024px) { .v3 .vis { margin: 0 auto; } .v3 .vis-chip { right: 8px; } }

@media (max-width: 900px) {
  .v3 .nav-links .btn { margin: 8px 0 0; width: 100%; }
}
