/* ============================================================
   WPDEEPLY — PAGE-LEVEL STYLES
   Home hero · Archive/404/search headers · Page heroes
   Free-tools landing + glass icon tiles · About team grid
   ============================================================ */

/* ---------- HOME HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 48px 60px; }
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid oklch(83% 0.09 285); border-radius: 100px; padding: 6px 16px 6px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 8px var(--purple); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.35); } }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -2px; color: var(--navy); margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 17px; color: var(--navy-mid); line-height: 1.65; max-width: 460px; margin-bottom: 30px; text-wrap: pretty; }
.hero-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-url { margin-top: 20px; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; }

.hero-visual { background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-xl), inset 0 1px 0 oklch(100% 0 0 / 0.7); position: relative; overflow: hidden; }
.hero-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }
.hero-visual-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); margin-bottom: 16px; }
.tool-pill-list { display: flex; flex-direction: column; gap: 9px; }
.tool-pill { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: inherit; transition: all 0.2s; position: relative; overflow: hidden; }
.tool-pill::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform 0.25s ease; }
.tool-pill:hover { border-color: oklch(80% 0.1 285); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.tool-pill:hover::after { transform: scaleY(1); }
.tool-pill-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.tool-pill-icon svg { width: 17px; height: 17px; }
.tool-pill-name { font-size: 13px; font-weight: 600; color: var(--navy); flex: 1; font-family: var(--font-display); letter-spacing: -0.2px; transition: color 0.2s; }
.tool-pill:hover .tool-pill-name { color: var(--purple); }
.tool-pill-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: var(--purple-dim); color: var(--purple); flex-shrink: 0; }
.hero-visual-footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.hero-visual-count { font-size: 11px; color: var(--muted); }
.hero-visual-link { font-size: 11.5px; font-weight: 600; color: var(--purple); text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.hero-visual-link:hover { gap: 8px; }

.home-main { max-width: var(--max-w); margin: 0 auto; padding: 60px 48px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 60px; }

/* ---------- GENERIC PAGE HERO (about / work / editorial / contact / privacy) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 100px 48px 72px; }
.page-hero-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; text-align: center; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 16px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -1.6px; line-height: 1.05; color: var(--navy); text-wrap: balance; }
.page-hero .lede { font-size: 19px; line-height: 1.7; color: var(--navy-mid); max-width: 660px; margin: 24px auto 0; text-wrap: pretty; }
.page-hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* page body: prose centered (about/editorial/privacy) */
.page-prose-wrap { max-width: 820px; margin: 0 auto; padding: 56px 48px 80px; }
.page-prose-wrap .prose { max-width: 100%; }

/* contact split layout */
.contact-grid { max-width: var(--max-w); margin: 0 auto; padding: 50px 48px 80px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-block { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.contact-block h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.contact-block h3 .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-purple); }
.contact-block h3 .ico svg { width: 17px; height: 17px; }
.contact-block p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.contact-block code, .contact-block a.email { font-family: var(--font-mono); font-size: 13px; color: var(--purple); background: var(--purple-dim); padding: 2px 8px; border-radius: 6px; text-decoration: none; }

/* ---------- SLIM ARCHIVE TITLE BAR (no hero) ---------- */
.archive-bar {
  position: relative; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 140% at 0% 0%, oklch(96% 0.03 285 / 0.7), transparent 60%),
    radial-gradient(ellipse 60% 140% at 100% 0%, oklch(96% 0.028 255 / 0.6), transparent 58%),
    var(--card);
}
.archive-bar::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--grad-brand); opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%); mask-image: linear-gradient(90deg, #000, transparent 62%); }
.archive-bar-inner { max-width: var(--max-w); margin: 0 auto; padding: 30px 48px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ab-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ab-glyph { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 20px oklch(54% 0.16 285 / 0.3), inset 0 1px 0 oklch(100% 0 0 / 0.4); }
.ab-glyph svg { width: 24px; height: 24px; }
.ab-avatar { display: block; flex-shrink: 0; }
.ab-avatar-img { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--bg-2); display: block; }
.ab-head { min-width: 0; }
.archive-bar h1 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.8px; color: var(--navy); line-height: 1.1; }
.ab-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px; font-size: 13px; color: var(--muted); }
.ab-count { font-weight: 700; color: var(--purple); letter-spacing: 0.02em; }
.ab-count::after { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: oklch(80% 0.02 285); margin-left: 10px; vertical-align: middle; }
.ab-sub .ab-desc:only-child::before, .ab-count:only-child::after { content: none; }
.ab-desc { color: var(--navy-mid); }
.ab-links { display: inline-flex; gap: 7px; }
.ab-links .author-social { width: 32px; height: 32px; border-radius: 9px; }
.ab-links .author-social svg { width: 14px; height: 14px; }
.ab-glyph { transition: transform 0.3s var(--ease-spring); }
.archive-bar:hover .ab-glyph { transform: rotate(-5deg) scale(1.05); }

/* ---------- ARCHIVE / SEARCH / 404 HEADERS ---------- */
.archive-hero { position: relative; overflow: hidden; padding: 64px 48px 40px; }
.archive-hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 22px; }
.archive-hero .cat-glyph { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: var(--shadow-lg); }
.archive-hero .cat-glyph svg { width: 30px; height: 30px; }
.archive-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -1.2px; color: var(--navy); line-height: 1.05; }
.archive-hero .count { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.archive-hero .desc { font-size: 15px; color: var(--navy-mid); margin-top: 8px; max-width: 600px; }

.error-wrap { max-width: 720px; margin: 0 auto; padding: 90px 48px; text-align: center; position: relative; }
.error-code { font-family: var(--font-display); font-size: clamp(90px, 16vw, 180px); font-weight: 700; line-height: 1; letter-spacing: -4px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-wrap h1 { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--navy); margin: 10px 0 12px; letter-spacing: -0.6px; }
.error-wrap p { font-size: 16px; color: var(--muted); margin-bottom: 26px; }

/* ---------- FREE TOOLS LANDING ---------- */
.tools-hero { position: relative; overflow: hidden; padding: 80px 48px 50px; text-align: center; }
.tools-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.tools-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; letter-spacing: -2px; line-height: 1.04; color: var(--navy); text-wrap: balance; }
.tools-hero h1 em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tools-hero .lede { font-size: 18px; color: var(--navy-mid); max-width: 600px; margin: 18px auto 0; line-height: 1.6; }
.tools-stats { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.tools-stat { background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 14px; padding: 14px 22px; box-shadow: var(--shadow-sm); }
.tools-stat .n { font-family: var(--font-display); font-size: 26px; font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.tools-stat .l { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* filter chips */
.tools-filter { max-width: var(--max-w); margin: 0 auto; padding: 8px 48px 0; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.filter-chip { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--navy-mid); background: var(--card); border: 1.5px solid var(--border); border-radius: 100px; padding: 9px 18px; cursor: pointer; transition: all 0.2s; }
.filter-chip:hover { border-color: oklch(80% 0.1 285); color: var(--purple); }
.filter-chip.active { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: var(--shadow-purple); }

/* tools grid */
.tools-grid { max-width: var(--max-w); margin: 0 auto; padding: 36px 48px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s; overflow: hidden; }
.tool-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 80% -10%, var(--glow, oklch(85% 0.1 300 / 0.4)), transparent 70%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: oklch(82% 0.09 290); }
.tool-card:hover::before { opacity: 1; }

/* glassmorphism icon tile */
.tool-glass-icon { position: relative; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: #fff; background: linear-gradient(140deg, var(--ic-a, oklch(54% 0.2 290)), var(--ic-b, oklch(60% 0.18 330))); box-shadow: 0 8px 22px var(--ic-shadow, oklch(54% 0.2 290 / 0.4)), inset 0 1px 0 oklch(100% 0 0 / 0.5); overflow: hidden; }
.tool-glass-icon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, oklch(100% 0 0 / 0.35), transparent 55%); }
.tool-glass-icon::after { content: ''; position: absolute; width: 140%; height: 60%; left: -20%; top: -30%; background: radial-gradient(ellipse, oklch(100% 0 0 / 0.4), transparent 70%); filter: blur(4px); }
.tool-glass-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.tool-card-tag { position: absolute; top: 20px; right: 20px; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); background: var(--purple-dim); border-radius: 100px; padding: 4px 10px; }
.tool-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.4px; color: var(--navy); line-height: 1.25; margin-bottom: 8px; transition: color 0.2s; }
.tool-card:hover h3 { color: var(--purple); }
.tool-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.tool-card .go { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--purple); margin-top: 16px; transition: gap 0.2s; }
.tool-card:hover .go { gap: 11px; }
.tool-card .go svg { width: 14px; height: 14px; }

/* single tool wrapper */
.tool-wrap-hero { position: relative; overflow: hidden; padding: 60px 48px 30px; }
.tool-wrap-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; text-align: center; }
.tool-embed { max-width: 980px; margin: 0 auto; padding: 20px 48px 70px; }
.tool-embed-card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); }

/* ---------- ABOUT TEAM GRID ---------- */
.team-section { max-width: var(--max-w); margin: 0 auto; padding: 20px 48px 40px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card .tc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.team-card .tc-avatar { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex-shrink: 0; box-shadow: var(--shadow-purple); }
.team-card .tc-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.team-card .tc-role { font-size: 12px; color: var(--purple); font-weight: 600; }
.team-card p { font-size: 13.5px; color: var(--navy-mid); line-height: 1.6; }
.team-card .tc-foot { font-size: 12px; color: var(--muted); line-height: 1.55; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }

/* leadership feature card */
.lead-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.lead-card .lead-photo { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; background: var(--bg-2); }
.lead-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.5px; }
.lead-card .lead-role { font-size: 13px; color: var(--purple); font-weight: 600; margin-bottom: 12px; }
.lead-card p { font-size: 14.5px; color: var(--navy-mid); line-height: 1.65; }

/* value / philosophy row */
.value-grid { max-width: var(--max-w); margin: 0 auto; padding: 28px 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.value-card .v-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; box-shadow: var(--shadow-purple); }
.value-card .v-ico svg { width: 22px; height: 22px; }
.value-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.value-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* section heading block (centered) */
.section-head { max-width: var(--max-w); margin: 0 auto; padding: 64px 48px 12px; text-align: center; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -1px; line-height: 1.16; color: var(--navy); text-wrap: balance; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 600px; margin: 16px auto 0; line-height: 1.7; }

/* stat band (work-with-us) */
.stat-band { max-width: var(--max-w); margin: 0 auto; padding: 24px 48px; }
.stat-band-inner { background: var(--grad-brand); border-radius: 22px; padding: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stat-band-inner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(oklch(100% 0 0 / 0.07) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / 0.07) 1px, transparent 1px); background-size: 36px 36px; }
.stat-cell { position: relative; z-index: 1; color: #fff; text-align: center; }
.stat-cell .n { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1; }
.stat-cell .l { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; margin-top: 8px; }

/* collaboration / pricing cards */
.collab-grid { max-width: var(--max-w); margin: 0 auto; padding: 24px 48px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collab-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.collab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.collab-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.4px; }
.collab-card p { font-size: 14px; color: var(--navy-mid); line-height: 1.6; flex: 1; }
.collab-card .price { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--purple); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }

/* two-col accept lists */
.accept-grid { max-width: var(--max-w); margin: 0 auto; padding: 24px 48px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.accept-card { border-radius: 20px; padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.accept-card.yes { background: linear-gradient(135deg, oklch(97% 0.03 150), var(--card)); }
.accept-card.no { background: linear-gradient(135deg, oklch(97% 0.02 25), var(--card)); }
.accept-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.accept-card h3 .badge { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.accept-card.yes .badge { background: oklch(58% 0.15 150); }
.accept-card.no .badge { background: oklch(62% 0.16 25); }
.accept-card h3 .badge svg { width: 16px; height: 16px; }
.accept-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.accept-list li { font-size: 14px; color: var(--navy-mid); display: flex; gap: 10px; align-items: flex-start; }
.accept-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); margin-top: 8px; flex-shrink: 0; }

/* big CTA band */
.cta-band { max-width: var(--max-w); margin: 56px auto 88px; padding: 0 48px; }
.cta-band-inner { position: relative; overflow: hidden; border-radius: 26px; padding: 60px; text-align: center; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-xl); }
.cta-band-inner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(oklch(100% 0 0 / 0.06) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / 0.06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent 75%); mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent 75%); }
.cta-band-inner > * { position: relative; z-index: 1; }
.cta-band-inner h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; text-wrap: balance; }
.cta-band-inner p { font-size: 16px; opacity: 0.9; max-width: 520px; margin: 0 auto 26px; }
.btn-on-grad { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--purple); padding: 14px 28px; border-radius: 12px; font-family: var(--font-body); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 28px oklch(0% 0 0 / 0.25); transition: transform 0.2s, box-shadow 0.2s; }
.btn-on-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 38px oklch(0% 0 0 / 0.32); }

/* ============================================================
   HOME BANNER ANIMATION + PAGE HOVERS  (transform/opacity only)
   ============================================================ */
.hero h1 em { background: linear-gradient(100deg, oklch(50% 0.25 286), oklch(54% 0.22 268), oklch(58% 0.2 244), oklch(54% 0.22 268), oklch(50% 0.25 286)); background-size: 240% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradflow 8s ease-in-out infinite; }
@keyframes gradflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-right { position: relative; }
.hero-right::before { content: ''; position: absolute; inset: -34px; z-index: 0; border-radius: 50%; filter: blur(34px); opacity: 0.6; background: conic-gradient(from 0deg, oklch(70% 0.16 282 / 0.5), transparent 38%, oklch(72% 0.13 248 / 0.45), transparent 72%, oklch(70% 0.16 282 / 0.5)); animation: spin 20s linear infinite; }
.hero-visual { position: relative; z-index: 1; animation: floatbob 6.5s ease-in-out infinite; }
.hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background-image: linear-gradient(oklch(50% 0.12 282 / 0.05) 1px, transparent 1px), linear-gradient(90deg, oklch(50% 0.12 282 / 0.05) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, black, transparent 72%); mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, black, transparent 72%); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.tool-pill-icon { transition: transform 0.25s var(--ease-spring); }
.tool-pill:hover .tool-pill-icon { transform: rotate(-6deg) scale(1.08); }

.tool-glass-icon { transition: transform 0.3s var(--ease-spring); }
.tool-card:hover .tool-glass-icon { transform: translateY(-3px) scale(1.06) rotate(-4deg); }
.value-card .v-ico, .contact-block h3 .ico { transition: transform 0.3s var(--ease-spring); }
.value-card:hover .v-ico { transform: scale(1.08) rotate(-5deg); }
.contact-block { transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.contact-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-block:hover h3 .ico { transform: rotate(-6deg) scale(1.06); }
.tools-stat { transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.tools-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card .tc-avatar { transition: transform 0.3s var(--ease-spring); }
.team-card:hover .tc-avatar { transform: rotate(-5deg) scale(1.06); }
.lead-card { overflow: hidden; }
.lead-card .lead-photo { transition: transform 0.45s var(--ease-out); }
.lead-card:hover .lead-photo { transform: scale(1.03); }
.lead-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(oklch(50% 0.12 282 / 0.045) 1px, transparent 1px), linear-gradient(90deg, oklch(50% 0.12 282 / 0.045) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 100% 100%, black, transparent 70%); mask-image: radial-gradient(ellipse 80% 90% at 100% 100%, black, transparent 70%); }
.lead-card > * { position: relative; z-index: 1; }
.collab-card .price { transition: color 0.2s; }
.stat-cell .n { transition: transform 0.3s var(--ease-spring); }
.stat-band-inner:hover .stat-cell .n { transform: scale(1.05); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .home-main { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .collab-grid { grid-template-columns: 1fr 1fr; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .lead-card { grid-template-columns: 160px 1fr; }
}
@media (max-width: 900px) {
  .hero, .tools-hero, .page-hero, .archive-hero, .tools-hero { padding-left: 20px; padding-right: 20px; }
  .home-main, .tools-grid, .tools-filter, .team-section, .value-grid, .collab-grid, .accept-grid, .stat-band, .section-head, .cta-band, .contact-grid, .page-prose-wrap, .archive-bar-inner { padding-left: 20px; padding-right: 20px; }
  .hero-visual { display: none; }
}
@media (max-width: 620px) {
  .tools-grid, .team-grid, .value-grid, .collab-grid, .accept-grid { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; text-align: center; }
  .lead-card .lead-photo { max-width: 180px; margin: 0 auto; }
  .cta-band-inner, .tool-embed-card { padding: 28px; }
}

/* ============================================================
   WPDEEPLY — SPLASH (front page) + PLUGIN HERO
   ============================================================ */
.splash { position: relative; overflow: hidden; background: #0a0c16; color: #fff; padding: 104px 48px 96px; }
.splash-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(120% 130% at 10% -12%, oklch(42% 0.16 285) 0%, transparent 55%),
  radial-gradient(120% 120% at 100% 0%, oklch(40% 0.13 250 / 0.85) 0%, transparent 52%),
  linear-gradient(180deg, #0c0e1a 0%, #090a12 100%); }
.splash .grid-overlay, .plugin-hero .grid-overlay { opacity: 0.55; background-image:
  linear-gradient(oklch(100% 0 0 / 0.05) 1px, transparent 1px),
  linear-gradient(90deg, oklch(100% 0 0 / 0.05) 1px, transparent 1px); background-size: 46px 46px; }
.splash-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 68px; align-items: center; }
.splash-left { max-width: 620px; }

.splash-medallion { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(140deg, var(--purple), var(--pink));
  box-shadow: 0 12px 34px oklch(53% 0.18 282 / 0.55), inset 0 1px 0 rgba(255,255,255,0.5); }
.splash-medallion::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #0b0d18; opacity: 0.94; }
.splash-medallion img { position: relative; z-index: 1; width: 40px; height: 40px; object-fit: contain; filter: invert(1) brightness(2.3); }
.medallion-ring { position: absolute; inset: -7px; border-radius: 50%; border: 1px solid oklch(72% 0.13 282 / 0.5);
  -webkit-mask: linear-gradient(#000, transparent 80%); mask: linear-gradient(#000, transparent 80%); }

.splash-badge { display: inline-flex; align-items: center; gap: 9px; background: oklch(100% 0 0 / 0.07); border: 1px solid oklch(100% 0 0 / 0.14);
  border-radius: 100px; padding: 7px 15px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: oklch(86% 0.04 280); }
.splash-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.splash h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; letter-spacing: -1.5px; font-weight: 700; margin: 26px 0 0; text-wrap: balance; }
.splash h1 em { font-style: normal; background: linear-gradient(100deg, oklch(82% 0.11 288), oklch(84% 0.1 250)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.splash-sub { margin: 26px 0 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.72; color: oklch(80% 0.02 280); max-width: 560px; }
.splash-buttons { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.splash-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 38px; font-size: 13px; color: oklch(72% 0.02 280); }
.splash-meta strong { color: #fff; font-weight: 600; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: oklch(58% 0.03 280); }

.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-lg svg { width: 18px; height: 18px; }
.splash .btn-ghost, .plugin-hero .btn-ghost { background: oklch(100% 0 0 / 0.07); color: #fff; border: 1px solid oklch(100% 0 0 / 0.2); }
.splash .btn-ghost:hover, .plugin-hero .btn-ghost:hover { background: oklch(100% 0 0 / 0.13); }

/* Flow card */
.splash-right { position: relative; }
.flowcard { position: relative; background: oklch(100% 0 0 / 0.05); border: 1px solid oklch(100% 0 0 / 0.12); border-radius: 22px; padding: 24px;
  box-shadow: 0 30px 70px oklch(18% 0.1 280 / 0.5); }
.flowcard-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(80% 0.06 285); margin-bottom: 18px; }
.flownode { display: flex; align-items: center; gap: 14px; background: oklch(100% 0 0 / 0.05); border: 1px solid oklch(100% 0 0 / 0.1); border-radius: 14px; padding: 13px 15px; }
.flownode-accent { background: linear-gradient(120deg, oklch(40% 0.14 285 / 0.55), oklch(40% 0.1 250 / 0.4)); border-color: oklch(70% 0.12 282 / 0.4); }
.flownode-ic { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--purple), var(--pink)); }
.flownode-ic svg { width: 22px; height: 22px; }
.flownode-txt { display: flex; flex-direction: column; font-size: 12.5px; color: oklch(76% 0.02 280); }
.flownode-txt b { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; }
.flowwire { width: 2px; height: 18px; margin: 5px 0 5px 36px; background: linear-gradient(oklch(70% 0.12 282 / 0.7), oklch(70% 0.12 252 / 0.3)); }
.flowcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid oklch(100% 0 0 / 0.1); }
.flow-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: oklch(82% 0.02 280); }
.flow-live-dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(75% 0.16 150); box-shadow: 0 0 10px oklch(75% 0.16 150); }
.flowcard-link { font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; }
.flowcard-link:hover { color: oklch(85% 0.1 285); }

/* Plugin page hero (dark, reuses page-hero structure) */
.plugin-hero { position: relative; overflow: hidden; background: #0a0c16; color: #fff; }
.plugin-hero .splash-medallion { margin: 0 auto 22px; }
.plugin-hero .eyebrow { color: oklch(82% 0.08 288); border-color: oklch(100% 0 0 / 0.18); background: oklch(100% 0 0 / 0.06); }
.plugin-hero h1 { color: #fff; }
.plugin-hero .lede { color: oklch(80% 0.02 280); }

/* Plugin "how it works" steps */
.steps-grid { max-width: var(--max-w); margin: 0 auto; padding: 32px 48px 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--purple); letter-spacing: 0.1em; }
.step-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); margin: 14px 0 16px; box-shadow: var(--shadow-purple); }
.step-ico svg { width: 24px; height: 24px; }
.step-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.step-card p { font-size: 14px; color: var(--navy-mid); line-height: 1.6; }
.feature-grid-6 { grid-template-columns: repeat(3, 1fr); }

/* Plugin hero polish */
.plugin-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.plugin-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.plugin-hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.plugin-hero-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: oklch(84% 0.03 280);
  background: oklch(100% 0 0 / 0.06); border: 1px solid oklch(100% 0 0 / 0.14); border-radius: 100px; padding: 8px 15px; }
.plugin-hero-badges svg { width: 16px; height: 16px; stroke: oklch(82% 0.1 292); fill: none; }

/* Plugin download card (final CTA band variant) */
.plugin-download { display: flex; flex-direction: column; align-items: center; }
.download-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; opacity: 0.9; margin-bottom: 14px; }
.btn-download { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-top: 8px;
  background: #fff; color: var(--purple); padding: 12px 14px 12px 16px; border-radius: 16px;
  box-shadow: 0 12px 34px oklch(0% 0 0 / 0.3); transition: transform 0.22s var(--ease-out), box-shadow 0.22s; text-align: left; }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 20px 48px oklch(0% 0 0 / 0.4); }
.btn-download-ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-purple); }
.btn-download-ic svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.btn-download-tx { display: flex; flex-direction: column; }
.btn-download-main { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.3px; color: var(--navy); line-height: 1.15; }
.btn-download-meta { font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.btn-download-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--purple-dim); margin-left: 6px; transition: transform 0.2s; }
.btn-download-arrow svg { width: 16px; height: 16px; stroke: var(--purple); fill: none; }
.btn-download:hover .btn-download-arrow { transform: translateX(4px); }
.download-note { font-size: 12.5px; color: #fff; opacity: 0.82; margin-top: 18px; }
.download-note strong { font-weight: 700; }

/* ============================================================
   HERO UPGRADE — real glassmorphism icons, CSS load-in,
   animated energy wires, hover glow. Pure CSS, no extra JS.
   Heavy motion is gated to desktop + motion-OK further down.
   ============================================================ */

/* Frosted-glass icon tiles (the "real glassmorphism icons") */
.flownode-ic {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, oklch(100% 0 0 / 0.16), oklch(100% 0 0 / 0.04));
  border: 1px solid oklch(100% 0 0 / 0.22);
  -webkit-backdrop-filter: blur(6px) saturate(1.3); backdrop-filter: blur(6px) saturate(1.3);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.5), 0 6px 16px oklch(20% 0.08 280 / 0.45);
}
/* glossy top-left specular highlight */
.flownode-ic::before { content: ''; position: absolute; left: -20%; top: -35%; width: 150%; height: 70%;
  background: radial-gradient(ellipse, oklch(100% 0 0 / 0.5), transparent 70%); filter: blur(3px); }
/* colored inner glow so each glass tile still reads as branded */
.flownode-ic::after { content: ''; position: absolute; inset: 0; opacity: 0.9;
  background: radial-gradient(circle at 30% 120%, oklch(62% 0.2 300 / 0.55), transparent 60%); }
.flownode-ic svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px oklch(20% 0.1 280 / 0.5)); }
.flownode-accent .flownode-ic::after { background: radial-gradient(circle at 30% 120%, oklch(64% 0.2 250 / 0.6), transparent 60%); }

/* Node hover — lift, brighten, tilt the glass tile */
.flownode { transition: transform 0.32s var(--ease-spring), border-color 0.3s, box-shadow 0.3s, background 0.3s; will-change: transform; }
.flowcard:hover .flownode { border-color: oklch(100% 0 0 / 0.16); }
.flownode:hover { transform: translateY(-3px) scale(1.015); border-color: oklch(72% 0.14 285 / 0.6);
  background: oklch(100% 0 0 / 0.09); box-shadow: 0 14px 34px oklch(18% 0.1 280 / 0.55); }
.flownode-ic { transition: transform 0.35s var(--ease-spring), box-shadow 0.3s; }
.flownode:hover .flownode-ic { transform: rotate(-6deg) scale(1.08); box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.6), 0 10px 22px oklch(54% 0.2 290 / 0.55); }
.flownode-txt b { transition: color 0.2s; }

/* Flowcard sheen sweep on hover */
.flowcard { overflow: hidden; }
.flowcard::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 40%, oklch(100% 0 0 / 0.08) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease-out); }
.flowcard:hover::after { transform: translateX(120%); }

/* ---------- LOAD-IN (pure CSS entrance, above the fold) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .splash-medallion { animation: hero-pop 0.7s var(--ease-spring) both; }
  .splash .splash-badge { animation: hero-rise 0.6s var(--ease-out) 0.05s both; }
  .splash h1 { animation: hero-rise 0.7s var(--ease-out) 0.12s both; }
  .splash-sub { animation: hero-rise 0.7s var(--ease-out) 0.2s both; }
  .splash-buttons { animation: hero-rise 0.7s var(--ease-out) 0.28s both; }
  .splash-meta { animation: hero-rise 0.7s var(--ease-out) 0.36s both; }
  .flowcard { animation: hero-card-in 0.9s var(--ease-spring) 0.2s both; }
  .flowcard .flownode { animation: hero-rise 0.6s var(--ease-out) both; }
  .flowcard .flownode[data-i="1"] { animation-delay: 0.45s; }
  .flowcard .flownode[data-i="2"] { animation-delay: 0.6s; }
  .flowcard .flownode[data-i="3"] { animation-delay: 0.75s; }

  /* Medallion breathing glow */
  .splash-medallion::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
    background: radial-gradient(circle, oklch(62% 0.2 292 / 0.55), transparent 70%); filter: blur(14px);
    animation: hero-glow 3.4s ease-in-out infinite; }
  .medallion-ring { animation: hero-ring 8s linear infinite; }

  /* Energy pulse travelling down each wire */
  .flowwire { position: relative; overflow: visible; }
  .flowwire::after { content: ''; position: absolute; left: 50%; top: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
    background: oklch(85% 0.16 285); box-shadow: 0 0 10px 2px oklch(75% 0.18 285 / 0.9);
    animation: wire-pulse 2.4s ease-in-out infinite; }
  .flownode-accent + .flowwire::after { animation-delay: 1.2s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: none; } }
@keyframes hero-card-in { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes hero-glow { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.12); } }
@keyframes hero-ring { to { transform: rotate(360deg); } }
@keyframes wire-pulse { 0% { top: -2px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Ambient floating glass orbs behind the flowcard (desktop + motion only) */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .splash-right::after { content: ''; position: absolute; width: 120px; height: 120px; right: -30px; top: -40px; z-index: 0; border-radius: 50%;
    background: linear-gradient(150deg, oklch(70% 0.16 300 / 0.35), oklch(70% 0.14 250 / 0.1));
    border: 1px solid oklch(100% 0 0 / 0.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    box-shadow: inset 0 2px 8px oklch(100% 0 0 / 0.25); animation: floatbob 7s ease-in-out infinite; pointer-events: none; }
  .splash-right::before { content: ''; position: absolute; width: 60px; height: 60px; left: -18px; bottom: 24px; z-index: 0; border-radius: 50%;
    background: linear-gradient(150deg, oklch(72% 0.14 250 / 0.3), transparent);
    border: 1px solid oklch(100% 0 0 / 0.15); animation: floatbob 5.5s ease-in-out 0.6s infinite reverse; pointer-events: none; }
  .flowcard { z-index: 1; }
}

/* ============================================================
   WPDEEPLY — SIDEBAR (affiliate banner + plugin promo)
   ============================================================ */
/* ---------- Legacy affiliate banner (kept for compatibility) ---------- */
.aff-banner { display: flex; flex-direction: column; gap: 5px; text-decoration: none; position: relative; overflow: hidden;
  background: linear-gradient(150deg, oklch(97% 0.03 286), var(--card)); border: 1px solid oklch(88% 0.05 285); transition: transform 0.25s, box-shadow 0.25s; }
.aff-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.aff-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.aff-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); margin: 4px 0 2px; box-shadow: var(--shadow-purple); }
.aff-ico svg { width: 22px; height: 22px; }
.aff-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.3px; line-height: 1.2; }
.aff-sub { font-size: 13px; color: var(--navy-mid); line-height: 1.55; }
.aff-cta { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--purple); }

/* ============================================================
   AI AFFILIATE BANNER — "stunning, AI-powered" WordPress ad
   ============================================================ */
.aff-ai {
  position: relative; overflow: hidden; padding: 0; border: 1px solid oklch(40% 0.12 285 / 0.6);
  background: radial-gradient(130% 120% at 0% 0%, oklch(34% 0.16 288) 0%, oklch(20% 0.09 278) 55%, oklch(14% 0.06 272) 100%);
  box-shadow: 0 10px 30px oklch(30% 0.12 282 / 0.35), inset 0 1px 0 oklch(100% 0 0 / 0.12);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s; isolation: isolate;
}
.aff-ai:hover { transform: translateY(-4px); box-shadow: 0 18px 44px oklch(30% 0.14 282 / 0.5), inset 0 1px 0 oklch(100% 0 0 / 0.18); }
/* Animated aurora wash */
.aff-ai-fx { position: absolute; inset: -40%; z-index: 0; pointer-events: none; opacity: 0.75;
  background:
    radial-gradient(closest-side, oklch(66% 0.2 300 / 0.55), transparent 70%) 15% 20% / 55% 55% no-repeat,
    radial-gradient(closest-side, oklch(66% 0.17 246 / 0.5), transparent 70%) 85% 15% / 55% 55% no-repeat,
    radial-gradient(closest-side, oklch(64% 0.16 330 / 0.4), transparent 70%) 60% 90% / 60% 60% no-repeat; }
/* Faint circuit grid */
.aff-ai-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(oklch(100% 0 0 / 0.06) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 90% 80% at 80% 0%, #000, transparent 75%); }
.aff-ai-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.aff-ai-top { display: flex; align-items: center; justify-content: space-between; }
.aff-ai-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(92% 0.05 292); background: oklch(100% 0 0 / 0.08); border: 1px solid oklch(100% 0 0 / 0.16); border-radius: 100px; padding: 4px 10px 4px 8px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.aff-ai-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: oklch(80% 0.16 300); box-shadow: 0 0 8px oklch(75% 0.18 300); }
.aff-ai-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(70% 0.03 280); }
.aff-ai-ico { position: relative; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin: 6px 0 2px;
  background: linear-gradient(140deg, var(--purple), var(--pink));
  box-shadow: 0 10px 24px oklch(53% 0.2 292 / 0.6), inset 0 1px 0 oklch(100% 0 0 / 0.5); overflow: visible; }
.aff-ai-ico::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, oklch(100% 0 0 / 0.4), transparent 55%); }
.aff-ai-ico svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.aff-ai-spark { position: absolute; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 8px 1px oklch(90% 0.12 300 / 0.9); }
.aff-ai-spark-1 { width: 5px; height: 5px; top: -4px; right: 6px; }
.aff-ai-spark-2 { width: 3px; height: 3px; bottom: 2px; left: -3px; }
.aff-ai-spark-3 { width: 4px; height: 4px; top: 10px; right: -5px; }
.aff-ai-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.4px; line-height: 1.2; }
.aff-ai-sub { font-size: 12.5px; color: oklch(80% 0.02 280); line-height: 1.55; }
.aff-ai-sub strong { color: oklch(90% 0.08 292); font-weight: 700; }
.aff-ai-cta { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 8px;
  background: #fff; color: oklch(40% 0.18 288); font-size: 12.5px; font-weight: 800; text-decoration: none;
  padding: 9px 16px; border-radius: 10px; box-shadow: 0 6px 18px oklch(0% 0 0 / 0.3); transition: transform 0.2s, box-shadow 0.2s; }
.aff-ai-cta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; transition: transform 0.2s; }
.aff-ai:hover .aff-ai-cta { transform: translateY(-1px); box-shadow: 0 10px 24px oklch(0% 0 0 / 0.38); }
.aff-ai:hover .aff-ai-cta svg { transform: translateX(4px); }
.aff-ai:hover .aff-ai-ico { animation: aff-ico-tilt 0.6s var(--ease-spring); }

@media (prefers-reduced-motion: no-preference) {
  .aff-ai-fx { animation: aff-aurora 14s ease-in-out infinite alternate; }
  .aff-ai-chip-dot { animation: pulse 2s ease-in-out infinite; }
  .aff-ai-spark-1 { animation: aff-spark 3.2s ease-in-out 0.2s infinite; }
  .aff-ai-spark-2 { animation: aff-spark 3.2s ease-in-out 1.1s infinite; }
  .aff-ai-spark-3 { animation: aff-spark 3.2s ease-in-out 2s infinite; }
}
@keyframes aff-aurora { 0% { transform: translate3d(-4%, -3%, 0) scale(1); } 100% { transform: translate3d(5%, 4%, 0) scale(1.12); } }
@keyframes aff-spark { 0%, 100% { opacity: 0; transform: scale(0.4); } 45%, 55% { opacity: 1; transform: scale(1); } }
@keyframes aff-ico-tilt { 0% { transform: none; } 40% { transform: rotate(-8deg) scale(1.09); } 100% { transform: none; } }

.plugin-sidebar-card { background: radial-gradient(130% 130% at 0% 0%, oklch(36% 0.14 285), oklch(20% 0.08 280)); color: #fff; border: 1px solid oklch(42% 0.1 285); }
.plugin-sidebar-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.plugin-sidebar-sub { font-size: 12.5px; opacity: 0.85; line-height: 1.55; margin: 8px 0 16px; }
.plugin-sidebar-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.pss { background: oklch(100% 0 0 / 0.12); border-radius: 10px; padding: 10px 8px; text-align: center; }
.pss-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1; }
.pss-label { font-size: 8.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.8; margin-top: 5px; }

/* Brand medallions in chrome */
.nav-logo-medallion { position: relative; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(140deg, var(--purple), var(--pink)); box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(255,255,255,0.4); }
.nav-logo-medallion::before { content: ''; position: absolute; inset: 2px; border-radius: 7px; background: #0b0d18; opacity: 0.9; }
.nav-logo-medallion img { position: relative; z-index: 1; width: 18px; height: 18px; object-fit: contain; filter: invert(1) brightness(2.3); }
.footer-brand-medallion { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 9px; vertical-align: middle;
  background: linear-gradient(140deg, var(--purple), var(--pink)); }
.footer-brand-medallion::before { content: ''; position: absolute; inset: 2px; border-radius: 6px; background: #0b0d18; opacity: 0.9; }
.footer-brand-medallion img { position: relative; z-index: 1; width: 16px; height: 16px; object-fit: contain; filter: invert(1) brightness(2.3); }

/* Responsive */
@media (max-width: 900px) {
  .splash { padding: 64px 24px 56px; }
  .splash-inner { grid-template-columns: 1fr; gap: 36px; }
  .splash-right { max-width: 460px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); padding-left: 24px; padding-right: 24px; }
  .feature-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .splash h1 { font-size: clamp(30px, 8vw, 40px); }
  .steps-grid, .feature-grid-6 { grid-template-columns: 1fr; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Tasteful motion — desktop + motion-OK only (keeps mobile cheap) */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .splash-bg::after { content: ''; position: absolute; width: 42vw; height: 42vw; right: -8vw; top: -16vw; border-radius: 50%;
    background: radial-gradient(circle, oklch(58% 0.18 292 / 0.45), transparent 65%); filter: blur(64px); animation: drift1 24s ease-in-out infinite alternate; }
  .flow-live-dot { animation: pulse 2s ease-in-out infinite; }
}

/* ============================================================
   MOBILE PERFORMANCE PASS — drop GPU-heavy blur + aurora
   (the main mobile-PageSpeed cost on the parent theme)
   ============================================================ */
@media (max-width: 768px) {
  .aurora::before, .aurora::after, .hero-right::before { display: none !important; }
  .site-header, .hero-visual, .hero-badge, .tools-stat, .tss, .post-cat-badge,
  .flownode-ic, .mega-inner,
  .key-takeaway, .is-style-cs-about, .is-style-cs-note { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
