/* ============================================================
   TracPoint — Blog & Newsletter sub-pages
   Reuses tokens, nav, buttons, footer from styles.css
   ============================================================ */

.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.page-hero .mesh { opacity: 0.4; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { justify-content: center; }
.page-hero-inner { max-width: 94%; margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-top: var(--s-3); }
.page-hero .lead { margin-inline: auto; max-width: 640px; }

/* category chips — capped to ~2 rows so a long tag vocabulary doesn't take over the hero */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--s-5); max-height: 88px; overflow: hidden; }
.cat-chip { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); padding: 9px 18px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-border); cursor: pointer; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.cat-chip:hover { color: var(--text); border-color: var(--glass-border-bright); }
.cat-chip.active { color: #fff; background: var(--grad); border-color: transparent; }

/* blog search bar */
.blog-search { display: flex; align-items: center; gap: 10px; max-width: 640px; width: 100%; margin: var(--s-5) auto 0; padding: 6px 8px 6px 18px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-border); transition: border-color .2s; }
.blog-search:focus-within { border-color: var(--glass-border-bright); }
.blog-search svg { color: var(--text-dim); flex-shrink: 0; }
.blog-search input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 14px; padding: 9px 0; }
.blog-search input::placeholder { color: var(--text-dim); }
.blog-search-btn { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); border: none; display: grid; place-items: center; color: #fff; cursor: pointer; transition: transform .2s var(--ease); }
.blog-search-btn:hover { transform: scale(1.06); }

/* tag pills — plain <span> on cards (already inside a whole-card <a>), real <a> on the post detail page.
   Capped to ~2 rows in case a post carries a lot of tags. */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; max-height: 60px; overflow: hidden; }
#postTags:not(:empty) { margin-top: 28px; }
.tag-pill { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .02em; color: var(--cyan); padding: 4px 10px; border-radius: var(--r-pill); background: rgba(34,211,238,0.12); text-decoration: none; transition: background .2s, color .2s; }
a.tag-pill:hover { background: rgba(34,211,238,0.22); }

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-wrap { padding-bottom: var(--s-9); }

/* featured post */
.feat-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); margin-bottom: var(--s-6); transition: border-color .3s, box-shadow .3s; }
.feat-post:hover { border-color: var(--glass-border-bright); box-shadow: 0 30px 70px -34px rgba(0,0,0,.85), 0 0 60px -30px rgba(124,60,255,.6); }
.feat-cover { position: relative; min-height: 340px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.feat-cover.grad-a { background: linear-gradient(150deg, #7c3cff, #3a1a6e 70%, #160b28); }
.feat-cover .fc-badge { position: absolute; top: 22px; left: 22px; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 6px 13px; border-radius: var(--r-pill); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); }
.feat-cover .fc-arrow { position: absolute; bottom: 20px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(124,60,255,.6); transition: transform .25s var(--ease); }
.feat-post:hover .fc-arrow { transform: scale(1.08); }
.feat-cover .fc-art { position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 22px 22px; }
.feat-cover .fc-big { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: .95; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.feat-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.feat-body .fb-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.feat-body h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.feat-body p { color: var(--text-muted); font-size: 15px; }
.feat-body .fb-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 13px; color: var(--text-dim); }
.feat-body .fb-meta .ava { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-tri); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #fff; }

/* posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--glass-border-bright); box-shadow: 0 26px 54px -30px rgba(0,0,0,.85), 0 0 40px -26px rgba(124,60,255,.55); }
.pc-cover { height: 210px; position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.pc-cover .pc-art { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 1px, transparent 1px); background-size: 20px 20px; }

/* Real post photos vary in aspect ratio — a blurred, darkened copy of the same image fills
   the box as a backdrop, while the full un-cropped photo sits on top via object-fit:contain,
   so portrait phone photos never get their subject cropped out. */
.img-cover-bg { position: absolute; inset: -16px; z-index: 0; background-size: cover; background-position: center; filter: blur(22px) saturate(1.2) brightness(.55); transform: scale(1.15); }
.img-cover-fg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.pc-cover .pc-ico { position: relative; width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; }
.pc-cover .pc-ico svg { width: 22px; height: 22px; }
.pc-cover.g1 { background: linear-gradient(140deg, #7c3cff, #3a1a6e); }
.pc-cover.g2 { background: linear-gradient(140deg, #2f6bff, #12325e); }
.pc-cover.g3 { background: linear-gradient(140deg, #a855f7, #4a1e8a); }
.pc-cover.g4 { background: linear-gradient(140deg, #22d3ee, #0e5266); }
.pc-cover.g5 { background: linear-gradient(140deg, #ff5b12, #6e2a0a); }
.pc-cover.g6 { background: linear-gradient(140deg, #662D91, #1a0a30); }
.pc-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-tag { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.pc-body h3 { font-size: 18px; line-height: 1.25; }
.pc-body p { font-size: 13.5px; color: var(--text-muted); }
.pc-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--text-dim); border-top: 1px solid var(--glass-border); }
.pc-meta .ava { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-tri); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: #fff; }

.load-more { text-align: center; margin-top: var(--s-6); }

.empty-note { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: var(--s-6) 0; }

/* pagination (client-side blog listing) */
.blog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: var(--s-7); }
.blog-pagination .page-nav, .blog-pagination .page-num { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); padding: 9px 16px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-border); transition: color .2s, border-color .2s, background .2s; }
.blog-pagination .page-num { padding: 9px 14px; min-width: 40px; text-align: center; }
.blog-pagination a.page-nav:hover, .blog-pagination a.page-num:hover { color: var(--text); border-color: var(--glass-border-bright); }
.blog-pagination .page-num.active { color: #fff; background: var(--grad); border-color: transparent; }
.blog-pagination .page-nav.disabled { opacity: .4; cursor: default; }

/* ============================================================
   ARTICLE (blog post)
   ============================================================ */
.article { max-width: 760px; margin-inline: auto; padding-bottom: var(--s-9); }

/* skeleton shown while the post is fetching, so the page never looks blank */
.article-skeleton { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.sk-line, .sk-meta { border-radius: var(--r-sm); background: linear-gradient(90deg, var(--glass) 25%, var(--glass-border) 50%, var(--glass) 75%); background-size: 200% 100%; animation: sk-shimmer 1.4s ease-in-out infinite; }
.sk-title { height: 34px; width: 70%; }
.sk-title.short { width: 45%; }
.sk-meta { height: 44px; width: 220px; border-radius: var(--r-pill); margin: 6px 0 10px; }
.sk-body { height: 16px; width: 100%; }
.sk-body.short { width: 60%; }
@keyframes sk-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); margin-bottom: var(--s-4); transition: color .2s; }
.article-back:hover { color: var(--cyan); }
.article-back svg { width: 16px; height: 16px; }
.article-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.article h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; margin: 14px 0 18px; }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); }
.article-meta .ava { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-tri); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.article-meta b { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.article-cover { height: clamp(240px, 34vw, 380px); border-radius: var(--r-xl); margin: var(--s-5) 0; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 28px; background: linear-gradient(150deg, #7c3cff, #3a1a6e 70%, #160b28); }
.article-cover .ac-art { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 24px 24px; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--text-muted); }
.article-body > * + * { margin-top: 22px; }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text); line-height: 1.2; margin-top: 40px; }
.article-body p { color: var(--text-muted); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul { display: flex; flex-direction: column; gap: 12px; padding-left: 2px; }
.article-body li { display: flex; gap: 12px; align-items: flex-start; }
.article-body li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex-shrink: 0; margin-top: 10px; }
.article-body blockquote { border-left: 3px solid transparent; border-image: var(--grad) 1; padding: 6px 0 6px 22px; font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.4; color: var(--text); }
.author-box { display: flex; align-items: center; gap: 16px; margin-top: var(--s-6); padding: 22px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); }
.author-box .ava { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-tri); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; flex-shrink: 0; }
.author-box .ab-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.author-box .ab-role { font-size: 13px; color: var(--text-dim); }
.related { margin-top: var(--s-8); }
.related h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: var(--s-4); text-align: center; }

/* ============================================================
   NEWSLETTER ARCHIVE
   ============================================================ */
.nl-featured { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); margin-bottom: var(--s-6); }
.nl-cover { position: relative; min-height: 380px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #1a0a30, #0d0619); border-right: 1px solid var(--glass-border); overflow: hidden; }
.nl-cover.has-img { background: #0d0722; }
.nl-cover .nlc-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.nl-cover .nlc-info { position: relative; z-index: 3; }
.nl-cover .nlc-logo { height: 26px; }
.nl-cover .nlc-issue { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.nl-cover .nlc-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1; color: #fff; }
.nl-cover .nlc-month { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--violet); margin-bottom: 8px; }
.nl-cover .nlc-art { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 70% 30%, rgba(168,85,247,.9), transparent 45%), radial-gradient(circle at 20% 80%, rgba(34,211,238,.7), transparent 45%); pointer-events: none; }
.nl-cover .nlc-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(10,5,20,.35) 0%, rgba(10,5,20,.55) 55%, rgba(10,5,20,.92) 100%); }
.nl-body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.nl-body .nlb-badge { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 6px 13px; border-radius: var(--r-pill); background: var(--grad); }
.nl-body h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.nl-body p { color: var(--text-muted); font-size: 15px; }
.nl-highlights { display: flex; flex-direction: column; gap: 10px; margin: 6px 0; }
.nl-highlights li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.nl-highlights li svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.nl-body .nlb-date { font-size: 13px; color: var(--text-dim); margin-top: auto; }

.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.issue-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; cursor: pointer; }
.issue-card:hover { transform: translateY(-6px); border-color: var(--glass-border-bright); box-shadow: 0 26px 54px -30px rgba(0,0,0,.85), 0 0 40px -26px rgba(124,60,255,.5); }
.ic-cover { height: 150px; position: relative; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.ic-cover.g1 { background: linear-gradient(150deg, #7c3cff, #2a1150); }
.ic-cover.g2 { background: linear-gradient(150deg, #2f6bff, #10233f); }
.ic-cover.g3 { background: linear-gradient(150deg, #a855f7, #3a1a6e); }
.ic-cover.g4 { background: linear-gradient(150deg, #22d3ee, #0e4152); }
.ic-cover.g5 { background: linear-gradient(150deg, #ff5b12, #5e240a); }
.ic-cover.g6 { background: linear-gradient(150deg, #662D91, #160b28); }
.ic-cover.has-img { background: #0d0722; }
.ic-cover .ic-art { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 1px, transparent 1px); background-size: 20px 20px; }
.ic-cover .ic-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(10,5,20,.1) 0%, rgba(10,5,20,.75) 100%); }
.ic-cover .ic-month { position: relative; z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.ic-cover .ic-title { position: relative; z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; line-height: 1; }
.ic-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ic-body h3 { font-size: 16px; line-height: 1.3; }
.ic-body p { font-size: 13.5px; color: var(--text-muted); }
.ic-read { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--glass-border); font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.ic-read svg { width: 15px; height: 15px; transition: transform .25s; }
.issue-card:hover .ic-read svg { transform: translateX(4px); }

.cat-chips.cat-chips-sm { max-height: none; margin-top: 12px; }
.cat-chips.cat-chips-sm .cat-chip { padding: 6px 14px; font-size: 12px; }

/* ============================================================
   NEWSLETTER DETAIL — content is raw HTML reconstructed from a HubSpot
   drag-and-drop email (images, CTA buttons, a social row), not prose like
   a blog post, so it gets its own narrower "email column" treatment.
   ============================================================ */
.nl-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 6px 13px; border-radius: var(--r-pill); background: var(--grad); margin-bottom: 14px; }
.newsletter-article { max-width: 680px; }

.newsletter-content img { max-width: 100%; height: auto; display: block; margin: 26px auto; border-radius: var(--r-md); }
.newsletter-content > img:first-child { margin-top: 0; }

/* Small badge/logo images (grouped by newsletter-api.js's groupThumbnailRows) lay out as a
   responsive row instead of each stacking full-width on its own line. */
.newsletter-content .newsletter-image-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); align-items: start; gap: 14px; margin: 26px 0; }
.newsletter-content .newsletter-image-row img { width: 100%; max-width: 100%; height: auto; margin: 0; }
.newsletter-content h1 { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--text); line-height: 1.3; margin-top: 8px; }
.newsletter-content h3, .newsletter-content h4 { font-family: var(--font-display); font-weight: 700; color: var(--text); line-height: 1.3; font-size: 19px; margin-top: 34px; }
.newsletter-content a:not(.newsletter-button) { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* The sanitizer strips the original inline alignment, so a paragraph that's
   just a lone button is re-centered here — that's how these buttons read in
   the source emails. */
.newsletter-content p:has(> a.newsletter-button:only-child) { text-align: center; margin: 30px 0; }
.newsletter-button { display: inline-block; padding: 14px 34px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; border-radius: var(--r-pill); text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; }
.newsletter-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(124,60,255,.65); }

/* Social row ships as bare text links ("facebook", "linkedin"...) with no
   icons — swap each for the same glyph used in the footer via a CSS mask-free
   background-image (default + hover color baked into two data URIs each), so
   no inline SVG has to be injected into server-sanitized content. */
.newsletter-social { display: flex; gap: 10px; justify-content: center; list-style: none; margin: 40px 0 4px; padding-top: 28px; border-top: 1px solid var(--glass-border); }
.newsletter-social a { display: block; width: 40px; height: 40px; border-radius: 11px; background: var(--glass) no-repeat center / 18px; border: 1px solid var(--glass-border); font-size: 0; line-height: 0; color: transparent; text-decoration: none; transition: border-color .2s, background-color .2s; }
.newsletter-social a:hover { border-color: var(--glass-border-bright); background-color: var(--glass-2); }
.newsletter-social a[class*="facebook"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93ad'%3E%3Cpath d='M24 12a12 12 0 1 0-13.875 11.854v-8.385H7.078V12h3.047V9.356c0-3.007 1.792-4.669 4.533-4.669 1.313 0 2.686.235 2.686.235v2.953H15.83c-1.49 0-1.955.925-1.955 1.874V12h3.328l-.532 3.469h-2.796v8.385A12.001 12.001 0 0 0 24 12z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="facebook"]:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M24 12a12 12 0 1 0-13.875 11.854v-8.385H7.078V12h3.047V9.356c0-3.007 1.792-4.669 4.533-4.669 1.313 0 2.686.235 2.686.235v2.953H15.83c-1.49 0-1.955.925-1.955 1.874V12h3.328l-.532 3.469h-2.796v8.385A12.001 12.001 0 0 0 24 12z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="twitter"], .newsletter-social a[class*="-x"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93ad'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24h-6.66l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="twitter"]:hover, .newsletter-social a[class*="-x"]:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24h-6.66l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="linkedin"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238a93ad'%3E%3Cpath d='M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.5 8h4V24h-4zM8 8h3.8v2.2h.05c.53-1 1.83-2.2 3.77-2.2 4.03 0 4.78 2.65 4.78 6.1V24h-4v-6.9c0-1.65-.03-3.78-2.3-3.78-2.3 0-2.65 1.8-2.65 3.66V24H8z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="linkedin"]:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4.98 3.5A2.5 2.5 0 1 1 0 3.5a2.5 2.5 0 0 1 4.98 0zM.5 8h4V24h-4zM8 8h3.8v2.2h.05c.53-1 1.83-2.2 3.77-2.2 4.03 0 4.78 2.65 4.78 6.1V24h-4v-6.9c0-1.65-.03-3.78-2.3-3.78-2.3 0-2.65 1.8-2.65 3.66V24H8z'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="instagram"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93ad' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%238a93ad' stroke='none'/%3E%3C/svg%3E"); }
.newsletter-social a[class*="instagram"]:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E"); }

.nl-signup { max-width: 900px; margin-inline: auto; padding: 20px 26px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(124,60,255,.14), var(--glass)); border: 1px solid var(--glass-border); }
.nl-signup-text { margin-bottom: 12px; text-align: center; }
.nl-signup-text h2 { font-size: 18px; margin-bottom: 3px; }
.nl-signup-text p { color: var(--text-dim); font-size: 13px; margin: 0; }
.nl-signup-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nl-signup-form .cf-input { flex: 1 1 140px; min-width: 0; padding: 11px 14px; font-size: 13.5px; }
.nl-signup-form .btn { flex-shrink: 0; }
#newsletterSignupForm + .cf-status { display: block; text-align: center; margin: 10px 0 0; }
@media (max-width: 640px) { .nl-signup-form { flex-direction: column; align-items: stretch; } .nl-signup-form .cf-input, .nl-signup-form .btn { flex: 1 1 auto; } }
.nl-signup-form .cf-actions { justify-content: center; margin-top: 2px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .feat-post, .nl-featured { grid-template-columns: 1fr; }
  .feat-cover, .nl-cover { min-height: 240px; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .posts-grid, .issues-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .posts-grid, .issues-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-story { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy p { color: var(--text-muted); font-size: 16px; margin-top: 16px; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.astat {
  position: relative; text-align: center; padding: clamp(22px, 2.6vw, 30px) 16px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(124,60,255,0.14), var(--glass)); border: 1px solid var(--glass-border);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.astat:hover { transform: translateY(-6px); border-color: var(--glass-border-bright); box-shadow: 0 24px 50px -26px rgba(0,0,0,0.8), 0 0 36px -20px rgba(124,60,255,0.7); }
.astat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.astat b i { font-style: normal; }
.astat > span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-muted); }
.about-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-metrics .am { padding: 26px 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(124,60,255,.14), var(--glass)); border: 1px solid var(--glass-border); text-align: center; }
.about-metrics .am b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3vw,38px); letter-spacing: -.02em; }
.about-metrics .am b i { font-style: normal; color: var(--cyan); }
.about-metrics .am span { font-size: 13px; color: var(--text-muted); margin-top: 6px; display: block; }

.partner-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.partner { padding: 22px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-border); transition: border-color .3s, transform .3s; }
.partner:hover { border-color: var(--glass-border-bright); transform: translateY(-4px); }
.partner b { font-family: var(--font-display); font-weight: 600; font-size: 16px; display: block; }
.partner span { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   HOW IT WORKS page
   ============================================================ */
/* ---------- Story Hero (cinematic story-reel player) ---------- */
.story-hero { position: relative; max-width: 1080px; margin: var(--s-5) auto 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-border); background: #05030c; box-shadow: 0 40px 90px -34px rgba(0,0,0,.85), 0 0 70px -34px rgba(124,60,255,.5); text-align: left; }

.story-stage { position: relative; aspect-ratio: 16/9; overflow: hidden; }

/* minimal progress strip — its own thin row above the frame, never over the image */
.story-topbar { padding: 10px 16px; }
.story-progress { display: flex; gap: 5px; }
.story-seg { flex: 1; height: 3px; border-radius: 999px; background: var(--glass-2); position: relative; overflow: hidden; border: none; padding: 0; cursor: pointer; }
.story-seg .seg-fill { position: absolute; inset: 0; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.story-seg.done .seg-fill { width: 100%; }
.story-seg.active .seg-fill { animation: storySegFill 4.6s linear forwards; }
.story-hero.is-paused .story-seg.active .seg-fill { animation-play-state: paused; }

/* slides cross-dissolve (a cut, not a swipe) — this is what separates it from a carousel */
.story-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.story-slide.active { opacity: 1; z-index: 1; }
.story-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); }
.story-slide.active img { animation: storyKenBurnsA 4.6s linear forwards; }
.story-slide.kb-b.active img { animation-name: storyKenBurnsB; }
.story-hero.is-paused .story-slide.active img { animation-play-state: paused; }

.story-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(5,3,12,.5); border: 1px solid rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; opacity: 0; transition: opacity .2s, background .2s; backdrop-filter: blur(6px); }
.story-stage:hover .story-arrow { opacity: 1; }
.story-arrow:hover { background: rgba(5,3,12,.8); }
.story-arrow.prev { left: 14px; }
.story-arrow.next { right: 14px; }
.story-arrow svg { width: 18px; height: 18px; }

/* lower-third caption — the narration. title reveals first, description follows a beat later */
.story-cap-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 90px 30px 28px; background: linear-gradient(180deg, transparent, rgba(3,1,10,.12) 22%, rgba(3,1,10,.42) 55%, rgba(3,1,10,.8) 100%); }
.story-cap-title {
  font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1;
  color: var(--cyan);
  margin-bottom: 8px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.story-slide.active .story-cap-title { opacity: 1; transform: translateY(0); transition-delay: .08s; }
.story-cap-text { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.45; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); max-width: 600px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story-slide.active .story-cap-text { opacity: 1; transform: translateY(0); transition-delay: .2s; }

/* bookends: the opening and closing beat read a touch larger, so the arc has a felt start and finish */
.story-slide.story-bookend .story-cap-title { font-size: 38px; }

@keyframes storySegFill { from { width: 0%; } to { width: 100%; } }
@keyframes storyKenBurnsA { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-1.2%, -0.6%); } }
@keyframes storyKenBurnsB { from { transform: scale(1.03) translate(1%, 0); } to { transform: scale(1.09) translate(0, 0.8%); } }

@media (max-width: 720px) {
  .story-arrow { opacity: 1; width: 34px; height: 34px; }
  .story-topbar { padding: 10px 12px; }
  .story-cap-overlay { padding: 64px 18px 20px; background: linear-gradient(180deg, transparent, rgba(3,1,10,.14) 22%, rgba(3,1,10,.45) 55%, rgba(3,1,10,.84) 100%); }
  .story-cap-title, .story-slide.story-bookend .story-cap-title { font-size: 24px; }
  .story-cap-text { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-slide { transition: opacity .3s ease; }
  .story-seg.active .seg-fill { animation: none; width: 100%; }
  .story-slide.active img { animation: none; }
  .story-cap-title, .story-cap-text { transition: opacity .3s ease; transform: none; }
}

/* ============================================================
   FEATURES page — alternating rows
   ============================================================ */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; padding-block: clamp(28px,4vw,56px); }
.feat-row:nth-child(even) .feat-text { order: 2; }
.feat-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--cyan); letter-spacing: .1em; }
.feat-text h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,2.8vw,34px); line-height: 1.1; margin: 10px 0 14px; }
.feat-text p { color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.feat-text ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.feat-text li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-muted); }
.feat-text li svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.feat-visual { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-border); background: var(--glass); box-shadow: 0 30px 70px -34px rgba(0,0,0,.8), 0 0 50px -30px rgba(124,60,255,.5); min-height: 300px; position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; }
.feat-visual img { width: 100%; height: auto; border-radius: var(--r-lg); }
.feat-visual.photo { padding: 0; aspect-ratio: 4 / 3; min-height: 0; }
.feat-visual.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.fv-gradient { position: absolute; inset: 0; opacity: .5; }
.fv-g1 { background: radial-gradient(circle at 30% 30%, rgba(124,60,255,.4), transparent 60%); }
.fv-g2 { background: radial-gradient(circle at 70% 40%, rgba(34,211,238,.3), transparent 60%); }
.fv-g3 { background: radial-gradient(circle at 50% 60%, rgba(255,91,18,.28), transparent 60%); }

.promo-carousel { position: relative; }
.promo-slide { position: absolute; inset: 0; opacity: 0; animation: promoFade 16s infinite; }
.promo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(180deg, transparent, rgba(6,3,16,.82) 68%); }
@keyframes promoFade { 0% { opacity: 0; } 2% { opacity: 1; } 23% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
.promo-scrim { position: absolute; inset: 0 0 auto 0; height: 64px; background: linear-gradient(180deg, rgba(6,3,16,.6), transparent); z-index: 1; pointer-events: none; }
.promo-dots { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; gap: 6px; }
.promo-dot { position: relative; flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,.32); overflow: hidden; }
.promo-dot::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; border-radius: 999px; background: #fff; animation-duration: 16s; animation-timing-function: linear; animation-iteration-count: infinite; }
.promo-dot:nth-child(1)::after { animation-name: promoDot0; }
.promo-dot:nth-child(2)::after { animation-name: promoDot1; }
.promo-dot:nth-child(3)::after { animation-name: promoDot2; }
.promo-dot:nth-child(4)::after { animation-name: promoDot3; }
/* each dot ramps 0→1 across the exact window its own slide is visible in promoFade (a delay-based offset would desync after the first lap), then holds full until the round resets */
@keyframes promoDot0 { 0%, 2% { transform: scaleX(0); } 23% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes promoDot1 { 0%, 27% { transform: scaleX(0); } 48% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes promoDot2 { 0%, 52% { transform: scaleX(0); } 73% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes promoDot3 { 0%, 77% { transform: scaleX(0); } 98% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .promo-slide { animation: none; opacity: 0; transition: opacity .4s ease; }
  .promo-slide:first-child { opacity: 1; }
  .promo-dot::after { animation: none; transform: scaleX(0); }
  .promo-dot:first-child::after { transform: scaleX(1); }
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.ind-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; padding-block: clamp(32px,4vw,64px); border-top: 1px solid var(--glass-border); scroll-margin-top: 90px; }
.ind-row:nth-child(even) .ind-text { order: 2; }
.ind-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--cyan); padding: 8px 15px; border-radius: var(--r-pill); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.2); }
.ind-text h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,3vw,38px); line-height: 1.08; margin: 14px 0; }
.ind-text p { color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.ind-text ul { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ind-text li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-muted); }
.ind-text li svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.ind-visual { aspect-ratio: 4/3; border-radius: var(--r-xl); border: 1px solid var(--glass-border); position: relative; overflow: hidden; display: grid; place-items: center; }
.ind-visual .iv-ico { width: 90px; height: 90px; color: #fff; opacity: .9; }
.ind-visual .iv-art { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 24px 24px; }

/* ============================================================
   PRICING page
   ============================================================ */
.pricing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: var(--s-5); font-size: 14px; color: var(--text-muted); }
.loc-slider { max-width: 620px; margin: var(--s-6) auto 0; padding: 28px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); }
.loc-slider label { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.loc-slider label .val { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--cyan); }
.loc-slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--glass-2); outline: none; }
.loc-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--glass-border-bright); }
.loc-slider .est { text-align: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--glass-border); }
.loc-slider .est b { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px,4vw,44px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.loc-slider .est span { display: block; font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.loc-slider input[type=range] { background: linear-gradient(90deg, var(--indigo), var(--violet)) no-repeat, var(--glass-2); background-size: var(--fill, 40%) 100%; }

/* billing toggle */
.price-toggle { display: inline-flex; gap: 4px; margin-top: var(--s-5); padding: 5px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border-bright); }
.pt-opt { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-muted); padding: 9px 20px; border-radius: var(--r-pill); transition: color .2s, background .2s; }
.pt-opt i { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,0.14); color: var(--text); }
.pt-opt.active { color: #06121a; background: var(--grad); }
.pt-opt.active i { background: rgba(6,18,26,0.18); color: #06121a; }

/* 6-tier grid */
.tier-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: var(--s-6); }
.tcard2 { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 14px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.tcard2:hover { transform: translateY(-6px); border-color: var(--glass-border-bright); box-shadow: 0 26px 54px -30px rgba(0,0,0,0.85), 0 0 40px -24px rgba(124,60,255,0.7); }
.tcard2.popular { border-color: transparent; background: linear-gradient(180deg, rgba(124,60,255,0.16), var(--glass)); box-shadow: 0 0 50px -22px rgba(124,60,255,0.9); }
.tcard2.popular::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tcard2 .badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #06121a; box-shadow: 0 8px 20px -6px rgba(124,60,255,0.8); }
.tc-loc { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; color: var(--cyan); }
.tc-emp { font-size: 11.5px; color: var(--text-muted); min-height: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--glass-border); width: 100%; }
.tc-price { margin-top: 10px; }
.tc-price b { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; }
.tc-price span { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-muted); }
.tc-per { font-family: var(--font-display); font-weight: 600; font-size: 13px; margin-top: -4px; }
.tc-note { font-size: 11px; color: var(--text-dim); margin-bottom: 12px; min-height: 28px; }
.tc-btn { width: 100%; padding: 10px; font-size: 13px; }
.tier-fee { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); color: var(--text); margin-top: var(--s-5); }
@media (max-width: 1100px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .tier-grid { grid-template-columns: 1fr 1fr; } .price-toggle { width: 100%; } .pt-opt { flex: 1; justify-content: center; } }
@media (max-width: 900px) {
  .about-story, .feat-row, .feat-row:nth-child(even) .feat-text, .ind-row, .ind-row:nth-child(even) .ind-text { grid-template-columns: 1fr; order: 0; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about-metrics, .partner-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ROI CALCULATOR page
   ============================================================ */
.roiw-section { position: relative; }
.roiw-shell { max-width: 920px; margin: 0 auto; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glow); }

/* ---- step indicator ---- */
.roiw-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: var(--s-6); }
.roiw-steps-line { position: absolute; top: 17px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: var(--glass-border); z-index: 0; }
.roiw-steps-fill { display: block; height: 100%; width: 0%; background: var(--grad); transition: width .4s var(--ease); }
.roiw-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: none; cursor: pointer; padding: 4px; color: var(--text-dim); font-family: var(--font-body); }
.roiw-step[disabled] { cursor: default; }
.roiw-step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--glass-border-bright); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-muted); transition: background .3s, border-color .3s, color .3s; }
.roiw-step-l { font-size: 11px; text-align: center; line-height: 1.25; max-width: 90px; }
.roiw-step.active .roiw-step-n, .roiw-step.done .roiw-step-n { background: var(--grad); border-color: transparent; color: #fff; }
.roiw-step.active .roiw-step-l { color: var(--text); }
@media (max-width: 720px) { .roiw-step-l { display: none; } }

/* ---- panels ---- */
.roiw-panel { display: none; }
.roiw-panel.active { display: block; animation: roiwIn .35s var(--ease); }
@keyframes roiwIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.roiw-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; }
.roiw-sub { color: var(--text-muted); font-size: 14.5px; margin-top: 6px; margin-bottom: var(--s-5); }

.roiw-grid2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: stretch; margin-bottom: var(--s-4); }
@media (max-width: 720px) { .roiw-grid2 { grid-template-columns: 1fr; } }

.roiw-field { margin-bottom: var(--s-4); }
.roiw-label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.roiw-tip { display: inline-grid; place-items: center; flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid var(--glass-border-bright); color: var(--text-dim); font-size: 10.5px; font-style: italic; font-family: Georgia, serif; cursor: help; position: relative; }
.roiw-tip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; max-width: 60vw; padding: 10px 12px; border-radius: var(--r-md); background: #14091f; border: 1px solid var(--glass-border-bright); color: var(--text-muted); font-size: 12px; font-weight: 400; font-style: normal; font-family: var(--font-body); line-height: 1.4; opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 5; box-shadow: 0 20px 40px -14px rgba(0,0,0,0.7); }
.roiw-tip:hover::after, .roiw-tip:focus-visible::after { opacity: 1; }
@media (max-width: 640px) {
  .roiw-tip::after { left: auto; right: -8px; transform: none; width: min(240px, calc(100vw - 48px)); }
}

.roiw-row { display: flex; align-items: center; gap: 14px; }
.roiw-range { -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--violet)) no-repeat, var(--glass-2); background-size: var(--fill, 0%) 100%; outline: none; }
.roiw-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; cursor: pointer; border: 4px solid var(--violet); box-shadow: 0 4px 16px -2px rgba(124,60,255,0.8); }
.roiw-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; cursor: pointer; border: 4px solid var(--violet); box-shadow: 0 4px 16px -2px rgba(124,60,255,0.8); }
.roiw-num { width: 76px; flex: 0 0 auto; text-align: center; padding: 8px 6px; border-radius: var(--r-sm); background: var(--glass-2); border: 1px solid var(--glass-border-bright); color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 15px; -moz-appearance: textfield; }
.roiw-num::-webkit-outer-spin-button, .roiw-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roiw-num-wrap { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; width: 76px; padding: 8px 6px; border-radius: var(--r-sm); background: var(--glass-2); border: 1px solid var(--glass-border-bright); }
.roiw-num-wrap .roiw-num { width: auto; flex: 1; min-width: 0; background: none; border: none; padding: 0; }
.roiw-num-wrap .pfx, .roiw-num-wrap .sfx { font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--text-dim); font-size: 14px; }

.roiw-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(124,60,255,0.14), var(--glass)); border: 1px solid var(--glass-border); margin-top: var(--s-5); }
.roiw-stat-icons { display: flex; gap: 14px; color: var(--cyan); }
.roiw-stat-icons svg { width: 22px; height: 22px; }
.roiw-stat-l { font-size: 13.5px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.roiw-stat-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.roiw-result-card { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--glass-border); }
.roiw-result-card label { font-size: 12.5px; color: var(--text-muted); }
.roiw-result-card b { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--text); }

.roiw-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: var(--s-6); }
.roiw-actions.center { justify-content: center; }

/* ---- results ---- */
.roiw-capture { padding: 4px; }
.roiw-results-top { text-align: center; margin-bottom: var(--s-5); }
.roiw-results-grid { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .roiw-results-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .roiw-bar-row { grid-template-columns: 1fr; row-gap: 6px; } .roiw-bar-num { text-align: left; } }

.roiw-cost-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--glass-border); margin-bottom: 16px; flex-wrap: wrap; }
.roiw-cost-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.roiw-cost-input { display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--bg-3); border: 1px solid var(--glass-border-bright); }
.roiw-cost-input .pfx { color: var(--text-dim); font-family: var(--font-display); font-weight: 700; }
.roiw-cost-input input { width: 84px; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.roiw-cost-input input::-webkit-outer-spin-button, .roiw-cost-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.roiw-toggle { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 12px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--glass-border); color: var(--text-muted); font-size: 13.5px; font-family: var(--font-display); font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s; }
.roiw-toggle:hover { color: var(--text); border-color: var(--glass-border-bright); }
.roiw-toggle svg { transition: transform .25s var(--ease); }
.roiw-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.roiw-details { margin-top: 12px; padding: 6px 4px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--glass-border); }
.roiw-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.roiw-table td { padding: 9px 14px; border-bottom: 1px solid var(--glass-border); color: var(--text-muted); }
.roiw-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.roiw-table tr:last-child td { border-bottom: none; }
.roiw-table-strong td { color: var(--text); font-weight: 600; }
.roiw-table-strong td:last-child { color: var(--cyan); }

.roiw-band { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.roiw-band-item { padding: 16px 18px; border-radius: var(--r-lg); background: var(--glass-2); border: 1px solid var(--glass-border); text-align: center; }
.roiw-band-item span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.roiw-band-item b { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.roiw-band-item.cost b { color: var(--bad); }
@media (max-width: 480px) { .roiw-band { grid-template-columns: 1fr; } }

/* ---- charts ---- */
.roiw-chart-card { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(124,60,255,0.10), var(--glass-2)); border: 1px solid var(--glass-border); margin-bottom: 18px; box-shadow: 0 20px 50px -30px rgba(0,0,0,0.7); }
.roiw-chart-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; color: var(--text); margin-bottom: 20px; }

.roiw-mix-track { display: flex; width: 100%; height: 26px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.06); }
.roiw-mix-seg { height: 100%; border-right: 2px solid var(--bg-3); transition: width .6s var(--ease); }
.roiw-mix-seg:last-child { border-right: 0; }
.roiw-mix-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.roiw-mix-legend .item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-muted); }
.roiw-mix-legend .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.roiw-mix-legend b { font-family: var(--font-display); font-weight: 700; color: var(--text); }

.roiw-chart-bars { display: flex; flex-direction: column; gap: 18px; }
.roiw-bar-row { display: grid; grid-template-columns: 138px 1fr auto; align-items: center; gap: 12px; }
.roiw-bar-lbl { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.roiw-bar-lbl .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(255,255,255,0.06); }
.roiw-bar-track { position: relative; height: 18px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.roiw-bar-fill { position: absolute; inset: 0 auto 0 0; height: 100%; width: 0%; border-radius: 999px; transition: width .6s var(--ease); }
.roiw-bar-num { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; text-align: right; min-width: 84px; font-variant-numeric: tabular-nums; }

.roiw-meter { margin-bottom: 20px; }
.roiw-meter-track { height: 22px; border-radius: 999px; background: rgba(52,224,161,0.12); overflow: hidden; }
.roiw-meter-fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #1c8f68, var(--good)); transition: width .7s var(--ease); }
.roiw-meter-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.roiw-meter-figure { display: flex; align-items: baseline; gap: 14px; justify-content: center; flex-wrap: wrap; }
.roiw-meter-figure b { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 50px); color: var(--good); }
.roiw-chip { font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 7px 15px; border-radius: var(--r-pill); background: rgba(52,224,161,0.14); border: 1px solid rgba(52,224,161,0.4); color: var(--good); }
.roiw-chip.warn { background: rgba(250,178,25,0.14); border-color: rgba(250,178,25,0.4); color: #fab219; }
.roiw-chip.serious { background: rgba(255,107,122,0.14); border-color: rgba(255,107,122,0.4); color: var(--bad); }

.roiw-final-band { display: flex; gap: 14px; margin-top: var(--s-5); border-radius: var(--r-lg); background: #1c0f2e; padding: 4px; flex-wrap: wrap; }
.roiw-final-item { flex: 1; min-width: 200px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; }
.roiw-final-item span { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; }
.roiw-final-item b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); color: #fff; }

.roiw-fineprint { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 14px; }

/* ---- email modal ---- */
.roiw-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.roiw-modal.open { display: flex; }
.roiw-modal-backdrop { position: absolute; inset: 0; background: rgba(5,2,12,0.75); backdrop-filter: blur(6px); }
.roiw-modal-card { position: relative; width: 100%; max-width: 440px; padding: 30px; border-radius: var(--r-xl); background: #140a22; border: 1px solid var(--glass-border-bright); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9); }
.roiw-modal-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.roiw-modal-card > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; }
.roiw-modal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--glass-border); color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; }
.roiw-modal-preview-wrap { width: 100%; max-height: 340px; overflow-y: auto; border-radius: var(--r-md); border: 1px solid var(--glass-border); margin-bottom: 16px; background: var(--bg-3); }
.roiw-modal-preview { display: block; width: 100%; height: auto; }
.roiw-modal-label { display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
.roiw-modal-input { width: 100%; padding: 12px 14px; border-radius: var(--r-md); background: var(--glass-2); border: 1px solid var(--glass-border-bright); color: var(--text); font-size: 15px; margin-bottom: 8px; }
.roiw-modal-status { min-height: 18px; font-size: 12.5px; }
.roiw-modal-status.err { color: var(--bad); }
.roiw-modal-status.ok { color: var(--good); }
.roiw-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-4); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text); }
.cf-optional { font-weight: 400; color: var(--text-dim); }
.cf-input { width: 100%; padding: 12px 14px; border-radius: var(--r-md); background: var(--glass-2); border: 1px solid var(--glass-border-bright); color: var(--text); font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .2s; }
.cf-input:focus { border-color: var(--violet); }
.cf-textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.cf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf-status { font-size: 13.5px; margin: 0; }
.cf-status.err { color: var(--bad); }
.cf-status.ok { color: var(--good); }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }

/* ---- capture-time spinner ---- */
.roiw-spinner { position: fixed; inset: 0; z-index: 199; display: none; align-items: center; justify-content: center; background: rgba(5,2,12,0.6); }
.roiw-spinner.show { display: flex; }
.roiw-spinner span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.2); border-top-color: var(--violet); animation: roiwSpin .8s linear infinite; }
@keyframes roiwSpin { to { transform: rotate(360deg); } }

