/* ============================================================
   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: 760px; margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin-top: var(--s-3); }
.page-hero .lead { margin-inline: auto; max-width: 560px; }

/* category chips */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: var(--s-5); }
.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; 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 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; }
.feat-cover.grad-a { background: linear-gradient(150deg, #7c3cff, #3a1a6e 70%, #160b28); }
.feat-cover .fc-badge { position: absolute; top: 22px; left: 22px; 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-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: 168px; position: relative; display: flex; align-items: flex-end; padding: 16px; }
.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; }
.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); }

/* ============================================================
   ARTICLE (blog post)
   ============================================================ */
.article { max-width: 760px; margin-inline: auto; padding-bottom: var(--s-9); }
.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); }
.nl-cover .nlc-top { display: flex; align-items: center; justify-content: space-between; }
.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-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; }
.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 .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-month { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ic-cover .ic-title { position: relative; 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 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); }

/* ============================================================
   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-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; }

.tmarq { gap: 20px; animation-duration: 44s; }
.tq { width: 380px; flex-shrink: 0; padding: 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-border); display: flex; flex-direction: column; gap: 12px; white-space: normal; }
.tq .stars { color: #FFC34D; letter-spacing: 2px; font-size: 14px; }
.tq p { font-size: 15px; color: var(--text); line-height: 1.55; }
.tq .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tq .who .ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-tri); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; }
.tq .who b { font-family: var(--font-display); font-weight: 600; font-size: 14px; display: block; }
.tq .who small { font-size: 12px; color: var(--text-dim); }

.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
   ============================================================ */
.video-frame { max-width: 900px; margin: var(--s-5) auto 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 40px 90px -34px rgba(0,0,0,.85), 0 0 70px -34px rgba(124,60,255,.5); }
.video-frame .vf-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--glass-border); }
.video-frame .vf-top .d { width: 11px; height: 11px; border-radius: 50%; background: #2a2740; }
.video-frame .vf-stage { position: relative; aspect-ratio: 16/9; background: radial-gradient(circle at 50% 45%, #241340, #0b0613 75%); display: grid; place-items: center; }
.video-frame .vf-stage .vf-art { position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle at 30% 30%, rgba(168,85,247,.4) 1px, transparent 1px); background-size: 26px 26px; }
.video-frame .play { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 50px -6px rgba(168,85,247,.9); cursor: pointer; transition: transform .2s; }
.video-frame .play:hover { transform: scale(1.06); }
.video-frame .play::after { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video-frame .vf-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 15px; }

/* ============================================================
   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); }
.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%); }

/* ============================================================
   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; }
}
@media (max-width: 560px) {
  .about-metrics, .partner-grid { grid-template-columns: 1fr; }
  .tq { width: 300px; }
}

/* ============================================================
   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; }

.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; }

/* ---- 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); } }

