/* ==========================================================================
   Inner pages — v3 (classes, blog, careers, legal)
   ========================================================================== */

/* ---------- Classes ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.cc { display: flex; flex-direction: column; }
.cc--wide { grid-column: 1 / -1; }
.cc-head { padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }
.cc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-title { font-size: 1.5rem; letter-spacing: -.028em; margin-top: 18px; }
.cc-sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.cc-topics { padding: 8px 28px; flex: 1; }
.cc-topics--split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cc-topics--split > div:last-child .topic:last-child { border-bottom: 0; }

.topic { border-bottom: 1px solid var(--line); }
.topic:last-child { border-bottom: 0; }
.topic summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 16px 0; font-size: 15.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em;
}
.topic summary::-webkit-details-marker { display: none; }
.topic-num { font-family: var(--mono); font-size: 12px; color: var(--faint); min-width: 20px; transition: color .2s; }
.topic[open] .topic-num { color: var(--brand-ink); }
.topic-name { flex: 1; }
.topic-dur { font-size: 13px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.topic-ic { font-size: 16px; color: var(--faint); transition: transform .3s var(--ease), color .2s; }
.topic[open] .topic-ic { transform: rotate(45deg); color: var(--ink); }
.topic summary:hover .topic-ic { color: var(--ink); }
.topic-body { list-style: none; margin: 0; padding: 0 0 18px 34px; display: flex; flex-direction: column; gap: 8px; }
.topic-body li { position: relative; font-size: 14.5px; color: var(--muted); line-height: 1.55; padding-left: 14px; }
.topic-body li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 1.5px; background: var(--brand); }

.cc-price { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 28px 26px; border-top: 1px solid var(--line); background: #FDFDFB; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.cc-price-vals { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cc-price-new { font-size: 1.75rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-price-old { font-size: 14.5px; color: var(--faint); text-decoration: line-through; }
.cc-price .chip { align-self: center; }

.cc-soon { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; justify-content: center; padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); max-width: 480px; width: 100%; margin: 12px auto 0; }
.cc-soon-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gray); color: var(--muted); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.cc-soon h3 { font-size: 1.1rem; }
.cc-soon p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Split layout (careers) ---------- */
.split { display: grid; grid-template-columns: 1fr 400px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-side { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; }
.block + .block { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.block-title { font-size: 1.35rem; letter-spacing: -.024em; margin-bottom: 14px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.checks i { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.checks--plain i { background: var(--gray); color: var(--muted); }
.note { display: flex; gap: 12px; margin-top: 40px; padding: 18px 20px; border-radius: var(--radius); background: var(--warm); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.note i { color: var(--brand-ink); font-size: 16px; margin-top: 2px; }
.note strong { color: var(--ink); font-weight: 600; }
.side-title { font-size: 1.2rem; letter-spacing: -.02em; }
.side-sub { font-size: 14.5px; color: var(--muted); margin: 6px 0 24px; line-height: 1.6; }
.side-ctas { display: flex; flex-direction: column; gap: 10px; }
.side-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.6; }
.side-foot a { color: var(--brand-ink); font-weight: 500; }
.side-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.side-foot strong { color: var(--ink); font-weight: 600; }
.facts { margin: 24px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.facts dt i { color: var(--faint); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.facts dd a:hover { color: var(--brand-ink); }

.list-label { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: .01em; margin-bottom: 16px; }
.role { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.role:hover .link-arrow { color: var(--brand-ink); }
.role:hover .link-arrow i { transform: translateX(3px); }
.role-top { display: flex; align-items: center; justify-content: space-between; }
.role-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-ink); display: grid; place-items: center; font-size: 19px; }
.role-title { font-size: 1.4rem; letter-spacing: -.025em; margin-top: 20px; }
.role-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.role-meta i { color: var(--faint); margin-right: 3px; }
.role-desc { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 16px 0 20px; }

.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
.int-btn-loading { align-items: center; gap: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Blog ---------- */
.bl-outer { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 40px; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }
.bl-main { min-width: 0; }
.bl-side { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 72px; display: flex; flex-direction: column; gap: 14px; }
.bl-side--right { padding-top: 132px; }
/* House ads — classic display-ad styling (system fonts, blue headline, green URL, CTA) */
.bl-ad { display: flex; flex-direction: column; background: #fff; border: 1px solid #DADCE0; border-radius: 8px; overflow: hidden;
         font-family: Roboto, Arial, system-ui, sans-serif; text-decoration: none; transition: box-shadow .2s; }
.bl-ad:hover { box-shadow: 0 1px 6px rgba(32,33,36,.28); }
.bl-ad-bar { display: flex; align-items: center; justify-content: space-between; padding: 5px 8px; font-size: 11px; color: #70757A; background: #F8F9FA; border-bottom: 1px solid #ECEDEF; }
.bl-ad-bar span { font-weight: 700; letter-spacing: .01em; }
.bl-ad-bar i { font-size: 12px; color: #9AA0A6; }
.bl-ad-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #F1F3F4; }
.bl-ad-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 14px; color: #fff;
                background: linear-gradient(135deg, var(--ad), color-mix(in srgb, var(--ad) 70%, #000)); }
.bl-ad-banner i { font-size: 22px; margin-bottom: 6px; opacity: .95; }
.bl-ad-banner b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.bl-ad-banner small { font-size: 12px; opacity: .85; }
.bl-ad-body { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; }
.bl-ad-from { display: flex; align-items: center; gap: 8px; }
.bl-ad-fav { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--ad); color: #fff; font-size: 11px; }
.bl-ad-from b { display: block; font-size: 12px; font-weight: 500; color: #202124; line-height: 1.2; }
.bl-ad-from em { display: block; font-style: normal; font-size: 11.5px; color: #188038; line-height: 1.3; }
.bl-ad-title { font-size: 15px; font-weight: 400; color: #1A0DAB; line-height: 1.3; }
.bl-ad:hover .bl-ad-title { text-decoration: underline; }
.bl-ad-desc { font-size: 12.5px; color: #4D5156; line-height: 1.5; }
.bl-ad-cta { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 4px;
             background: #1A73E8; color: #fff; font-size: 12.5px; font-weight: 500; }
.bl-ad-cta i { font-size: 10px; }
.bl-ad:hover .bl-ad-cta { background: #1765CC; }

.bl-list { padding-bottom: clamp(72px, 9vw, 120px); }
.bl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bl-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.bl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.bl-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gray); border-bottom: 1px solid var(--line); }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bl-card:hover .bl-card-img img { transform: scale(1.03); }
.bl-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.bl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--faint); }
.bl-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.bl-card-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card-excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-card-more { margin-top: auto; padding-top: 20px; font-size: 14px; }
.bl-card:hover .bl-card-more { color: var(--brand-ink); }
.bl-card:hover .bl-card-more i { transform: translateX(3px); }
.bl-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.bl-card--lead .bl-card-img { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.bl-card--lead .bl-card-body { padding: 36px; justify-content: center; }
.bl-card--lead .bl-card-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.2; -webkit-line-clamp: 4; }
.bl-card--lead .bl-card-excerpt { font-size: 15.5px; -webkit-line-clamp: 4; }
.bl-card--lead .bl-card-more { margin-top: 0; padding-top: 24px; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager-btn { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.pager-btn:hover { border-color: var(--line-2); color: var(--ink); }
.pager-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.empty { text-align: center; padding: 88px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty i { font-size: 28px; color: var(--faint); }
.empty h2 { font-size: 1.2rem; margin-top: 14px; }
.empty p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.notice { padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 28px; }
.notice--error { background: #FDEDEC; border: 1px solid #F6CFCB; color: #8A1C12; }

.bl-post { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); }
.bl-post-head { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.bl-post-title { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.035em; line-height: 1.1; margin-top: 20px; }
.bl-sources { margin-top: 48px; padding: 20px 22px; border-radius: var(--radius); background: var(--warm); border: 1px solid var(--line); }
.bl-sources-label { font-size: 13px; font-weight: 500; color: var(--faint); margin-bottom: 10px; }
.bl-sources ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.bl-sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; word-break: break-word; }
.bl-sources a:hover { color: var(--brand-ink); }
.bl-post-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.bl-404 { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.bl-404 .lede { margin: 18px auto 32px; }
.bl-404 .eyebrow { margin-bottom: 18px; }

/* ---------- Prose (blog articles + legal) ---------- */
.prose { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { color: var(--ink); line-height: 1.3; margin: 2.2em 0 .7em; letter-spacing: -.022em; }
.prose h1 { font-size: 1.75rem; }
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.2rem; }
.prose h4, .prose h5 { font-size: 1.05rem; }
.prose p { margin: 0 0 1.35em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.35em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose li::marker { color: var(--faint); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .2s; }
.prose a:hover { color: var(--brand-ink); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 2em auto; border: 1px solid var(--line); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 13.5px; color: var(--faint); text-align: center; margin-top: .6em; }
.prose blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.4em; border-left: 2px solid var(--brand); color: var(--ink); font-size: 1.15rem; line-height: 1.6; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--gray); border: 1px solid var(--line); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.prose pre { background: #161616; color: #E8E8E3; border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; margin: 0 0 1.35em; font-size: .9em; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.35em; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); font-weight: 600; border-bottom-color: var(--line-2); }
.prose header, .prose section, .prose footer { display: block; }
.prose--legal h2 { font-size: 1.3rem; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.prose-foot { margin-top: 3em !important; padding-top: 1.6em; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
    .bl-outer { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--wrap) + 0px); }
    .bl-side-col { display: none; }
}
@media (max-width: 960px) {
    .split { grid-template-columns: 1fr; }
    .split-side { position: static; }
    .cc-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
    .cc-topics--split { grid-template-columns: 1fr; }
    .cc-topics--split > div:first-child .topic:last-child { border-bottom: 1px solid var(--line); }
    .bl-card--lead { grid-template-columns: 1fr; }
    .bl-card--lead .bl-card-img { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
    .bl-card--lead .bl-card-body { padding: 24px; }
}
@media (max-width: 640px) {
    .bl-grid { grid-template-columns: 1fr; }
    .cc-head, .cc-topics, .cc-price { padding-left: 20px; padding-right: 20px; }
    .cc-price .btn { width: 100%; }
    .topic-body { padding-left: 0; }
    .topic-dur { font-size: 12px; }
    .topic summary { gap: 10px; }
    .split-side, .role { padding: 22px; }
    .band .btn-row { width: 100%; flex-direction: column; align-items: stretch; }
    .prose { font-size: 1rem; }
}

/* Some stored posts (e.g. seeds/) embed inline styles written for the old dark theme.
   Remap those light-on-dark colours so the content stays readable on white. */
.prose a[style*="display:flex"] { text-decoration: none; color: inherit; }
.prose [style*="rgba(255,255,255,.1)"] { border-color: var(--line) !important; background: var(--surface) !important; }
.prose [style*="rgba(255,255,255,.1)"]:hover { border-color: var(--line-2) !important; }
.prose [style*="color:#e4e4e7"], .prose [style*="color:#f4f4f5"], .prose [style*="color:#fff"] { color: var(--ink) !important; }
.prose [style*="color:#71717a"], .prose [style*="color:#52525b"], .prose [style*="color:#a1a1aa"] { color: var(--muted) !important; }

/* ── Editorial post elements (used by hand-written posts, e.g. seeds/) ───────── */
.prose .post-cover { margin: 0 0 1.8em; }
.prose .post-cover img { margin: 0; border-radius: 16px; width: 100%; }
.prose .post-lede { font-size: 1.22rem; line-height: 1.65; color: var(--ink); letter-spacing: -.012em; }
.prose .post-lede em { font-style: normal; color: var(--brand-ink); font-weight: 500; }
.post-tldr { margin: 1.8em 0 2.2em; padding: 18px 22px; border-radius: 14px; background: var(--warm); border: 1px solid var(--line); border-left: 3px solid var(--brand); }
.post-tldr-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 8px; }
.prose .post-tldr ul { margin: 0; padding-left: 1.1em; }
.prose .post-tldr li { font-size: .98rem; margin-bottom: .35em; }
.prose blockquote.post-quote { margin: 1.6em 0 2em; padding: 0 0 0 1.2em; border-left: 3px solid var(--brand); background: none; }
.prose .post-quote p { margin: 0; font-size: 1.3rem; line-height: 1.45; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.prose .post-quote p::before { content: '\201C'; color: var(--brand); margin-right: 2px; }
.prose .post-quote p::after  { content: '\201D'; color: var(--brand); margin-left: 2px; }
.prose .post-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.prose .post-quote cite::before { content: '— '; }
.post-cta { margin: 2.4em 0 .6em; padding: 22px 24px; border-radius: 16px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-cta strong { display: block; color: #fff; font-size: 1.05rem; letter-spacing: -.015em; }
.post-cta span { display: block; color: rgba(255,255,255,.65); font-size: .92rem; margin-top: 4px; line-height: 1.5; }
.prose .post-cta a { flex-shrink: 0; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 500; font-size: .95rem; text-decoration: none; transition: background-color .2s; }
.prose .post-cta a:hover { background: var(--brand-hover); color: #fff; }

/* ── Custom YouTube player (.vplayer, enhanced by v3.js) ─────────────────────── */
.vplayer { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; border-radius: 16px; overflow: hidden; background: #0f0f0f;
           box-shadow: 0 2px 4px rgba(20,20,20,.04), 0 24px 48px -24px rgba(20,20,20,.35); isolation: isolate; }
.prose .vplayer img.vplayer-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; transition: transform .8s var(--ease), filter .4s var(--ease); }
.vplayer:not(.is-started):hover img.vplayer-poster { transform: scale(1.02); filter: brightness(.9); }
.prose .vplayer-fallback { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 7px 12px; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; text-decoration: none; }
.vplayer.is-ready .vplayer-fallback { display: none; }
.vp-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 45%), linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 30%); pointer-events: none; transition: opacity .3s; }
.vp-title { position: absolute; top: 14px; left: 16px; right: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -.01em; pointer-events: none; }
.vp-title i { color: #FF3D3D; font-size: 17px; }
.vp-start { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 12px; border: 0; padding: 0; background: none; cursor: pointer; color: #fff; font: 500 14px/1 var(--font); }
.vp-start-btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 34px; padding-left: 4px;
                box-shadow: 0 0 0 10px rgba(240,127,35,.22), 0 18px 40px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vp-start:hover .vp-start-btn { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(240,127,35,.25), 0 18px 40px -10px rgba(0,0,0,.6); }
.vp-start-label { padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; }
.vplayer.is-loading .vp-start-btn { animation: vp-pulse 1s ease-in-out infinite; }
@keyframes vp-pulse { 50% { transform: scale(.92); opacity: .8; } }
.vp-frame { position: absolute; inset: 0; z-index: 0; }
/* The iframe is taller than the box: YouTube letterboxes the 16:9 video in the middle and draws its
   own title / logo / "More videos" chrome in the extra top & bottom strips, which the box clips off. */
.vp-frame iframe { position: absolute; left: 0; width: 100%; top: -64px; height: calc(100% + 128px); border: 0; }
.vp-hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; display: none; }
.vplayer.is-started .vp-hit { display: block; }
.vplayer.is-started .vp-start, .vplayer.is-started img.vplayer-poster, .vplayer.is-started .vp-title { opacity: 0; pointer-events: none; }
.vplayer.is-started .vp-shade { background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 30%); }
.vplayer.is-ended .vp-start, .vplayer.is-ended .vp-title, .vplayer.is-ended img.vplayer-poster { opacity: 1; pointer-events: auto; }
/* control bar */
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 10px 12px 12px; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.vplayer.is-started .vp-bar { opacity: 1; transform: none; }
.vplayer.is-started.is-idle.is-playing .vp-bar, .vplayer.is-started.is-idle.is-playing .vp-shade { opacity: 0; }
.vplayer.is-idle.is-playing { cursor: none; }
.vplayer.is-idle.is-playing .vp-hit { cursor: none; }
.vp-btn { width: 36px; height: 36px; border: 0; border-radius: 9px; background: none; color: #fff; display: grid; place-items: center; font-size: 18px; cursor: pointer; flex-shrink: 0; transition: background-color .2s; }
.vp-btn:hover { background: rgba(255,255,255,.14); }
.vp-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.vp-time { font: 500 12.5px/1 var(--font); font-variant-numeric: tabular-nums; color: rgba(255,255,255,.88); padding: 0 6px; white-space: nowrap; }
.vp-track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; }
.vp-track::before, .vp-buf, .vp-fill { content: ''; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; transition: height .15s, margin .15s; }
.vp-track::before { right: 0; background: rgba(255,255,255,.25); }
.vp-buf { background: rgba(255,255,255,.35); width: 0; }
.vp-fill { background: var(--brand); width: 0; }
.vp-fill::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); transform: scale(0); transition: transform .15s; }
.vp-track:hover::before, .vp-track:hover .vp-buf, .vp-track:hover .vp-fill { height: 6px; margin-top: -3px; }
.vp-track:hover .vp-fill::after, .vp-track.is-seeking .vp-fill::after { transform: scale(1); }
.prose a.vp-yt { color: #fff; text-decoration: none; }
@media (max-width: 640px) {
    .vplayer { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
    .vp-start-btn { width: 60px; height: 60px; font-size: 26px; }
    .vp-title { font-size: 12.5px; }
    .vp-yt { display: none !important; }
    .post-cta { flex-direction: column; align-items: flex-start; }
}

/* ── In-post graphics: line chart (.pchart), bar charts (.pbars), risk cards ── */
.pchart, .pbars { margin: 1.8em 0 2.2em; padding: 22px 22px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pchart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pchart-title { font-size: 1rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.pbars .pchart-title { margin-bottom: 16px; }
.pchart-flag { flex-shrink: 0; font-size: 11px; font-weight: 500; color: var(--muted); padding: 3px 8px; border: 1px dashed var(--line-2); border-radius: 999px; }
.pchart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.pchart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pchart-legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.prose .pchart figcaption, .prose .pbars figcaption { text-align: left; margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.pchart-plot { position: relative; height: 260px; margin-top: 14px; outline: none; touch-action: pan-y; }
.pchart-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pchart-plot .grid line { stroke: var(--line); stroke-width: 1; }
.pchart-plot .axis text { fill: var(--faint); font-size: 11px; font-family: var(--font); }
.pchart-plot .ln { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pchart-plot .ann line { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 4; opacity: .45; }
.pchart-plot .ann rect { fill: var(--ink); }
.pchart-plot .ann text { fill: #fff; font-size: 10.5px; font-weight: 500; font-family: var(--font); }
.pchart-plot .end-dot { stroke: var(--surface); stroke-width: 2; }
.pchart-plot .cross { stroke: var(--ink-2); stroke-width: 1; opacity: .35; }
.pchart-plot .hot { opacity: 0; transition: opacity .15s; }
.pchart-plot.is-hover .hot { opacity: 1; }
.pchart-plot .hot circle { stroke: var(--surface); stroke-width: 2.5; }
.pchart-tip { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; min-width: 150px; background: var(--ink); color: #fff; border-radius: 9px; padding: 8px 11px; font-size: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.pchart-plot.is-hover .pchart-tip { opacity: 1; transform: none; }
.pchart-tip .tm { color: rgba(255,255,255,.6); margin-bottom: 4px; }
.pchart-tip .tr { display: flex; align-items: baseline; gap: 7px; line-height: 1.6; }
.pchart-tip .tr i { width: 10px; height: 2px; border-radius: 2px; flex-shrink: 0; align-self: center; filter: brightness(1.5); }
.pchart-tip .tr b { font-weight: 600; font-size: 13px; }
.pchart-tip .tr span { color: rgba(255,255,255,.7); }
.pchart-tip .tr .tn { color: #fff; font-weight: 500; }
.pchart-tip { min-width: 0; white-space: nowrap; }
.js .pchart-plot:not(.is-live) .ln { stroke-dashoffset: 1; }
.js .pchart-plot:not(.is-live) .ann, .js .pchart-plot:not(.is-live) .end-dot { opacity: 0; }
.js .pchart-plot .ln { transition: stroke-dashoffset 1.6s cubic-bezier(.3,.6,.2,1); }
.js .pchart-plot .ann, .js .pchart-plot .end-dot { transition: opacity .5s var(--ease) 1.2s; }

.pbar + .pbar { margin-top: 16px; }
.pbar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.pbar-top b { flex-shrink: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pbar-track { height: 10px; margin-top: 7px; border-radius: 6px; background: var(--gray); overflow: hidden; }
.pbar-fill { height: 100%; border-radius: 6px; background: #E2701A; width: calc(var(--v) / var(--max, 60) * 100%); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.pbar--dark .pbar-fill { background: var(--ink-2); }
.pbar small { display: block; margin-top: 5px; font-size: 12px; color: var(--faint); }
.js .pbars:not(.is-in) .pbar-fill { width: 0; }
.pbar:nth-of-type(2) .pbar-fill { transition-delay: .12s; }
.pbar:nth-of-type(3) .pbar-fill { transition-delay: .24s; }
.pbar:nth-of-type(4) .pbar-fill { transition-delay: .36s; }
.pbars--jobs .pbar-fill { height: 100%; }
.pbars--jobs .pbar-track { height: 14px; }

@media (max-width: 640px) {
    .pchart, .pbars { padding: 18px 16px 14px; }
    .pchart-plot { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .pchart-plot .ln, .pbar-fill { transition: none !important; }
}

/* ── Remote jobs post: stat row, company list, FAQ ── */
.prose .post-cta--top { margin: 0 0 1.8em; background: var(--brand-tint); color: var(--ink); border: 1px solid rgba(240,127,35,.25); }
.post-cta--top strong { color: var(--ink); }
.post-cta--top span { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.6em 0 2em; }
.stat-tile { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-tile b { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stat-tile span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.stat-tile small { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }
.co-list { display: flex; flex-direction: column; gap: 12px; margin: 1.4em 0 2em; }
.co { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.co:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.co--us { border-color: rgba(240,127,35,.45); box-shadow: 0 0 0 3px var(--brand-tint); }
.co-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.co-rank { flex-shrink: 0; min-width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gray); font-weight: 700; font-size: 14px; color: var(--ink); }
.co--us .co-rank { background: var(--brand); color: #fff; }
.prose .co h3 { margin: 0; font-size: 1.1rem; }
.prose .co h3 small { font-size: 13px; font-weight: 400; color: var(--faint); margin-left: 6px; }
.co-tag { margin-left: auto; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--gray); color: var(--ink-2); }
.co--us .co-tag { background: var(--brand-tint); color: var(--brand-ink); }
.prose .co p { margin: 10px 0 0; font-size: 15.5px; }
.co-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.prose .co-links a { text-decoration: none; font-weight: 500; color: var(--brand-ink); font-size: 14.5px; }
.prose .co-links a:hover { text-decoration: underline; }
.prose .faq-post h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.prose .faq-post p { margin: 0; }
@media (max-width: 640px) {
    .stat-row { grid-template-columns: 1fr; }
    .co-tag { margin-left: 0; }
}

/* ── FAQ accordion (shared with home.css) ── */
.faq-list { border-top: 1px solid var(--line-2); }
.faq { border-bottom: 1px solid var(--line-2); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 24px 0; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.012em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: background-color .25s, border-color .25s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--ink); border-color: var(--ink); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq summary:hover .faq-icon { border-color: #C9C9C2; }
.faq-body { padding: 0 52px 26px 0; font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ── City landing pages (/software-company-it-training-institute) ── */
.city-hero { padding-bottom: clamp(36px, 5vw, 56px); }
.city-pin { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px 6px 10px; border-radius: 999px;
            background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--ink-2); }
.city-pin i { color: var(--brand); }
.city-hero .h-page { max-width: 18ch; }
.city-ctas { margin-top: 30px; }
.city-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.city-offer { padding: 30px 28px; display: flex; flex-direction: column; }
.city-offer-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); font-size: 22px; }
.city-offer h2 { font-size: 1.45rem; letter-spacing: -.025em; margin-top: 18px; }
.city-offer p { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.city-offer p strong { color: var(--ink); }
.city-offer .btn-row { margin-top: auto; padding-top: 22px; }
.city-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.city-ticks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); }
.city-ticks i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); font-size: 14px; flex-shrink: 0; }
.city-offer--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.city-offer--dark h2 { color: #fff; }
.city-offer--dark p { color: rgba(255,255,255,.66); }
.city-offer--dark p strong { color: #fff; }
.city-offer--dark .city-offer-ic { background: rgba(240,127,35,.18); color: #F59A45; }
.city-courses { display: grid; gap: 8px; margin-top: 18px; }
.city-course { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.city-course b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.city-course span { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
.city-course em { flex-shrink: 0; font-style: normal; font-size: 13px; font-weight: 600; color: #F59A45; }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.45); }
.city-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.city-step { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.city-step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.city-step b { display: block; margin-top: 12px; font-size: 15px; letter-spacing: -.01em; }
.city-step small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.city-faq { margin-top: clamp(56px, 7vw, 88px); max-width: 820px; }
.city-faq .faq-list { margin-top: 24px; }
.city-near, .city-hub { margin-top: clamp(48px, 6vw, 72px); }
.city-prov + .city-prov { margin-top: 30px; }
.city-near-title { font-size: 1.1rem; letter-spacing: -.015em; margin-bottom: 14px; }
.city-near-title small { font-size: 13px; font-weight: 400; color: var(--faint); margin-left: 6px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chips a { padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
                transition: border-color .2s, color .2s, background-color .2s; }
.city-chips a:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-tint); }
.city-chips a.is-all { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 960px) {
    .city-offers { grid-template-columns: 1fr; }
    .city-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .city-offer { padding: 24px 20px; }

    .city-steps { grid-template-columns: 1fr; }
    .city-offer .btn-row { flex-direction: column; align-items: stretch; }
}
.city-price { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.city-price s { font-size: 12px; color: rgba(255,255,255,.4); }
.city-price em { font-style: normal; font-size: 14px; font-weight: 600; color: #F59A45; }
@media (max-width: 640px) {
}

.city-ctas { gap: 14px 12px; padding-top: 8px; }
@media (max-width: 640px) {
    .city-ctas { flex-direction: column; align-items: stretch; }
}

/* Internship city pages: blog promo card */
.intern-blog { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; margin-top: 20px; padding: 14px 24px 14px 14px; overflow: hidden;
               transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.intern-blog:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.intern-blog img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.intern-blog-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--brand-ink); }
.intern-blog h2 { font-size: 1.35rem; letter-spacing: -.025em; margin-top: 8px; }
.intern-blog p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-top: 8px; }
.intern-blog .link-arrow { margin-top: 12px; font-size: 14.5px; }
.intern-blog:hover .link-arrow { color: var(--brand-ink); }
@media (max-width: 720px) { .intern-blog { grid-template-columns: 1fr; padding: 12px 12px 18px; gap: 14px; } .intern-blog > div { padding: 0 8px; } }

/* ---------- Online classes list (/classes) ---------- */
.cls-how { margin-top: clamp(56px, 7vw, 88px); }
.cls-how .city-steps { margin-top: 24px; }

/* ---------- Course detail (/classes/{slug}) ---------- */
.cd-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }

.cd-note { font-size: 14px; color: var(--muted); margin: -4px 0 8px; }
.cd-syllabus { border-top: 1px solid var(--line); }
.cd-syllabus .topic:last-child { border-bottom: 1px solid var(--line); }
.cd-side .faq-list { margin-top: 0; }
.cd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.cd-price-new { font-size: 2.1rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-price-old { font-size: 15px; color: var(--faint); text-decoration: line-through; }
.cd-price .chip { align-self: center; }
.cd-side .side-sub { margin-top: 14px; }
.cd-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.cd-contact span { color: var(--muted); }
.cd-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.cd-contact a i { color: var(--faint); }
.cd-contact a:hover { color: var(--brand-ink); }
.cd-bar { display: none; }
@media (max-width: 960px) {
    .cd-side { order: -1; }
}
@media (max-width: 640px) {
    .cd-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(20,20,20,.25);
        transform: translateY(110%); transition: transform .3s var(--ease);
    }
    .cd-bar.is-on { transform: none; }
    html:not(.js) .cd-bar { transform: none; }
    .cd-bar b { font-size: 1.1rem; letter-spacing: -.02em; }
    .cd-bar s { font-size: 12.5px; color: var(--faint); margin-left: 4px; }
    .cd-bar small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
    body:has(.cd-bar) .ftr { padding-bottom: 72px; }
}
.cd-others-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
a.city-course { transition: border-color .2s, background-color .2s; } a.city-course:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }

/* Course hero — themed per course (--tc) */
.cd-hero { --tc: var(--brand); position: relative; overflow: hidden; }
.cd-hero::before { content: ''; position: absolute; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 14%, transparent), transparent); pointer-events: none; }
.cd-hero .wrap { position: relative; }
.cd-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.cd-accent { color: color-mix(in srgb, var(--tc) 82%, #000); }
.cd-art { position: relative; width: 280px; height: 280px; justify-self: end; }
.cd-art::before { content: ''; position: absolute; inset: 20px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--tc) 30%, transparent); animation: cd-spin 40s linear infinite; }
.cd-art-main { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 34px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 4px rgba(20,20,20,.05), 0 30px 60px -24px color-mix(in srgb, var(--tc) 70%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 18%, var(--line)); }
.cd-art-main img { width: 72px; height: 72px; object-fit: contain; }
.cd-art-orb { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(20,20,20,.35); border: 1px solid var(--line); animation: cd-float 6s ease-in-out infinite; }
.cd-art-orb img { width: 28px; height: 28px; object-fit: contain; }
.cd-art-orb--1 { left: 6px; top: 40px; }
.cd-art-orb--2 { right: 0; top: 96px; animation-delay: -2s; }
.cd-art-orb--3 { left: 52px; bottom: 6px; animation-delay: -4s; }
@keyframes cd-float { 50% { transform: translateY(-10px); } }
@keyframes cd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cd-art::before, .cd-art-orb { animation: none; } }
@media (max-width: 960px) { .cd-hero-grid { grid-template-columns: 1fr; } .cd-art { display: none; } }
.cd-hero .chip--tc { background: color-mix(in srgb, var(--tc) 11%, #fff); color: color-mix(in srgb, var(--tc) 78%, #000); }
.cd-tools { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cd-tools li { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.cd-tools img { width: 22px; height: 22px; object-fit: contain; }
.cd-side { border-top: 3px solid var(--tc); }

/* ---------- Astra Marketplace (/marketplace) ---------- */
.mk-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.mk-jump a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.mk-jump a:hover { border-color: var(--brand); transform: translateY(-1px); }
.mk-jump .bi { color: var(--brand-ink); }
.mk-sec { padding-bottom: 0; }
.mk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.mk-head .h-section { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mk-head p { max-width: 520px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.mk-head strong { color: var(--ink); }
.mk-mark { font-size: 140px; line-height: 1; width: auto; height: auto; top: -30px; color: var(--tc); }
.mk-title { margin-top: 0; }
.mk-from { font-size: 13.5px; color: var(--muted); }
.mk-note { font-size: 12.5px; color: var(--faint); }
.mk-quote { font-size: 1.15rem; }
#websites, #software, #courses { scroll-margin-top: calc(var(--header-h) + 16px); }
