/* CleanMyIGFeed — theme stylesheet (purple/pink redesign).
   No build step. Design tokens as CSS custom properties. */

:root {
  --grad: linear-gradient(135deg, #7C3AED, #EC4899);
  --grad-soft: linear-gradient(135deg, #F3EAFE, #FCE7F1);
  --purple: #7C3AED;
  --pink: #EC4899;
  --ink: #1B1523;
  --muted: #645C70;
  --muted2: #8A8296;
  --muted3: #A29CAD;
  --border: #EFE8F5;
  --card: #FFFFFF;
  --green: #16A34A;
  --shadow-lg: 0 24px 60px -30px rgba(80, 40, 120, .40);
  --shadow-md: 0 20px 44px -30px rgba(80, 40, 120, .40);
  --display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: linear-gradient(180deg, #F7F1FB 0%, #FCEEF5 55%, #F7F0FA 100%);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
::selection { background: #EBD7FA; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); }

/* Decorative blurred blobs — clipped by a fixed background layer so they never
   cause horizontal document overflow (avoids overflow-x:hidden, which would
   break position:sticky on the ad rails). */
.bg-blobs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.blob-1 { top: -160px; left: -120px; width: 520px; height: 520px; opacity: .5;
  background: radial-gradient(circle, #C9A8F5 0%, rgba(201,168,245,0) 70%); }
.blob-2 { top: 120px; right: -160px; width: 460px; height: 460px; opacity: .45;
  background: radial-gradient(circle, #F5A8D6 0%, rgba(245,168,214,0) 70%); }

.container { position: relative; z-index: 5; margin: 0 auto; }
.w-nav { max-width: 1180px; }
.w-hero { max-width: 840px; }
.w-work { max-width: 720px; }
.w-wide { max-width: 1080px; }
.w-stats { max-width: 900px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--display); font-weight: 700; cursor: pointer; border: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 12px; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -10px rgba(124,58,237,.6); }
.btn-grad:hover { box-shadow: 0 16px 30px -10px rgba(124,58,237,.7); }
.btn-coffee { background: #FFF4D6; border: 1px solid #F4E3A8; color: #8A6D00; font-size: 13px;
  font-weight: 700; padding: 9px 14px; border-radius: 999px; }
.btn-coffee:hover { background: #FFEFC2; }

/* ---------- Nav ---------- */
/* Equal-flex sides so the centre pill is centred on the PAGE, not just in the
   leftover space between the brand and the (wider) action buttons. */
.nav { display: flex; align-items: center; gap: 16px; padding: 22px 32px; }
.nav > .brand { flex: 1 1 0; min-width: 0; }
.nav > .nav-pill { flex: 0 0 auto; }
.nav > .nav-actions { flex: 1 1 0; justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -4px rgba(124,58,237,.5); }
.brand-mark i { color: #fff; font-size: 21px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.4px; color: var(--ink); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-pill { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 10px; box-shadow: 0 8px 24px -14px rgba(80,40,120,.35); }
.nav-pill a { text-decoration: none; color: #37303F; font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 999px; }
.nav-pill a:hover { background: #F7F1FB; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { font-size: 13px; padding: 10px 18px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 32px 8px; text-align: center; }
.badge-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; margin-bottom: 26px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.hero h1 { font-weight: 800; font-size: 56px; line-height: 1.04; letter-spacing: -1.6px; margin: 0 0 20px; }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Workspace ---------- */
.workspace { padding: 0 32px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); }
@keyframes cmf-spin { to { transform: rotate(360deg); } }
@keyframes cmf-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: cmf-rise .4s ease; }

/* Dropzone */
.dz { border: 1.5px dashed #D7C6EC; border-radius: 22px; padding: 44px 32px; text-align: center; cursor: pointer;
  background: #fff; box-shadow: var(--shadow-lg); transition: border-color .15s, background .15s; }
.dz.dragover { border-color: var(--purple); background: #FBF7FF; }
.dz input[type=file] { display: none; }
.dz-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px; background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center; }
.dz-icon i { font-size: 32px; color: var(--purple); }
.dz-title { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.dz-sub { font-size: 14px; color: var(--muted2); margin-bottom: 20px; }
.dz-choose { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 12px; }

/* Animated on-brand light-sweep ring + glow around the "Choose file" button:
   a purple→pink ring with a bright white highlight that orbits the button. */
@property --rb-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rb-spin { to { --rb-angle: 360deg; } }
.rainbow-btn { position: relative; display: inline-block; border-radius: 14px; isolation: isolate; }
.rainbow-btn::before, .rainbow-btn::after {
  content: ""; position: absolute; inset: -2.5px; border-radius: inherit;
  background: conic-gradient(from var(--rb-angle), #7C3AED, #A855F7, #ffffff, #F472B6, #EC4899, #A855F7, #7C3AED);
  animation: rb-spin 3s linear infinite;
}
.rainbow-btn::before { z-index: -1; }
.rainbow-btn::after { z-index: -2; filter: blur(11px); opacity: .7; }
.rainbow-btn > .dz-choose { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .rainbow-btn::before, .rainbow-btn::after { animation: none; }
}
.dz-trust { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.dz-trust span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #57506A; font-weight: 600; }
.dz-trust i { color: var(--green); font-size: 16px; }
.reassure { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.reassure .avatars { display: flex; }
.reassure .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-right: -9px; }
.reassure .txt { font-size: 14px; color: #57506A; }
.dz-help { text-align: center; margin-top: 14px; }
.dz-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-size: 13.5px;
  font-weight: 600; text-decoration: none; }
.dz-help a:hover { text-decoration: underline; }
.dz-help i { font-size: 16px; }

/* Loading */
.loading { padding: 56px 32px; text-align: center; }
.spinner { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  border: 4px solid #EFE3FA; border-top-color: var(--purple); animation: cmf-spin .8s linear infinite; }
.loading-title { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.loading-sub { font-size: 14px; color: var(--muted2); }

.status-error { display: none; margin-top: 16px; background: #FDECEF; border: 1px solid #F6C9D5; color: #B4235A;
  padding: 13px 15px; border-radius: 12px; font-size: 14px; }
.status-error.show { display: block; }

/* Filters card */
.fcard { padding: 28px; }
.fhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fhead-left { display: flex; align-items: center; gap: 10px; }
.fhead-check { width: 40px; height: 40px; border-radius: 12px; background: #EAF7F0; display: flex; align-items: center; justify-content: center; }
.fhead-check i { color: var(--green); font-size: 22px; }
.fhead-title { font-family: var(--display); font-weight: 700; font-size: 18px; }
.fhead-sub { font-size: 13px; color: var(--muted2); }
.step-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted3); text-transform: uppercase; }
.divider { height: 1px; background: #F0EAF6; margin: 20px 0; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted3); text-transform: uppercase; margin-bottom: 14px; }
.section-label .soft { text-transform: none; letter-spacing: 0; font-weight: 500; color: #B7B0C2; }
.filter-rows { display: grid; gap: 10px; }

.frow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 14px; cursor: pointer; background: #FCFAFE; transition: border-color .15s, background .15s; }
.frow:hover { border-color: #E4D3F7; }
.frow.on { border-color: #E4D3F7; background: #FBF5FF; }
.frow-icon { width: 38px; height: 38px; border-radius: 11px; background: #F4EDFC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.frow-icon i { color: var(--purple); font-size: 19px; }
.frow-main { flex: 1; min-width: 0; }
.frow-label { font-weight: 600; font-size: 15px; color: #241D30; }
.frow-desc { font-size: 12.5px; color: #9A93A6; }
.frow-count { font-size: 13px; font-weight: 700; color: var(--purple); background: #F4EDFC; padding: 4px 11px; border-radius: 999px; flex-shrink: 0; }

/* Toggle */
.track { width: 46px; height: 27px; border-radius: 999px; position: relative; flex-shrink: 0; background: #E4DFEA; transition: background .2s; }
.frow.on .track { background: var(--grad); }
.knob { position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff;
  transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.frow.on .knob { transform: translateX(19px); }

.disclaimer { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: #9A93A6; }
.disclaimer i { font-size: 15px; }
.btn-generate { width: 100%; margin-top: 22px; font-size: 16px; padding: 16px; border-radius: 14px; }

/* Results card */
.rcard { padding: 24px; }
.back-bar { display: flex; align-items: center; gap: 8px; width: 100%; margin: -4px 0 18px;
  padding: 12px 16px; font-family: var(--body); font-size: 14px; font-weight: 700; cursor: pointer;
  color: var(--purple); background: #F7F0FE; border: 1px solid #E9DBFB; border-radius: 12px;
  transition: background .15s, border-color .15s; }
.back-bar:hover { background: #F0E5FD; border-color: #DcC7F7; }
.back-bar i { font-size: 18px; }
.back-bar .back-hint { margin-left: auto; font-weight: 500; font-size: 12.5px; color: #9A7CC7; }
@media (max-width: 480px) { .back-bar .back-hint { display: none; } }
.rhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rhead-title { font-family: var(--display); font-weight: 700; font-size: 19px; }
.rhead-sub { font-size: 13px; color: var(--muted2); }
.rhead-actions { display: flex; gap: 8px; }
.btn-ghost { background: #fff; border: 1px solid #E7DFEF; color: #57506A; font-size: 13px; font-weight: 600;
  padding: 9px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: var(--body); }
.btn-ghost:hover { background: #FAF6FE; }
.btn-soft { background: #F4EDFC; border: 1px solid #E4D3F7; color: var(--purple); font-size: 13px; font-weight: 700;
  padding: 9px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: var(--body); }
.btn-soft:hover { background: #EFE3FB; }

.progress-track { height: 8px; background: #F1EBF7; border-radius: 999px; margin: 16px 0 6px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--grad); border-radius: 999px; transition: width .3s ease; }
.saved-note { font-size: 12px; color: var(--muted3); margin-bottom: 16px; }

.results-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rrow { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: 13px; background: #fff; transition: opacity .2s ease, background .2s ease; }
.rrow.done { background: #FAFAFB; opacity: .6; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0; font-family: var(--display); }
.rrow-main { flex: 1; min-width: 0; }
.rrow-handle { font-size: 14.5px; font-weight: 600; color: #241D30; text-decoration: none; }
.rrow-handle:hover { text-decoration: underline; }
.rrow.done .rrow-handle { color: var(--muted3); text-decoration: line-through; }
.rrow-tags { display: flex; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap; }
.chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.chip-biz { background: #FEF0E6; color: #C2691A; }
.chip-f { background: #FCE7F1; color: #B4489A; }
.chip-m { background: #E6EEFE; color: #3060C2; }
.rrow-meta { font-size: 12px; color: var(--muted3); }
.rrow-ext { width: 34px; height: 34px; border-radius: 9px; background: #F4EDFC; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; text-decoration: none; }
.rrow-ext i { color: var(--purple); font-size: 17px; }
.done-btn { cursor: pointer; flex-shrink: 0; font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 10px;
  border: 1px solid transparent; background: var(--grad); color: #fff; font-family: var(--body); }
.rrow.done .done-btn { border-color: #BEE7D2; background: #EAF7F0; color: var(--green); }
.results-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0EAF6; }
.link-btn { cursor: pointer; background: none; border: none; font-size: 13px; font-weight: 600; font-family: var(--body); display: inline-flex; align-items: center; gap: 6px; }
.link-danger { color: #B84C7B; }
.link-muted { color: #9A93A6; }

/* Workspace + sticky side ad rails */
.work-row { display: flex; justify-content: center; align-items: flex-start; gap: 28px; max-width: 1160px; margin: 0 auto; }
.work-row .workspace, .work-row .priv-body { margin: 0; flex: 0 1 720px; min-width: 0; }
/* Rails are hidden by default and only revealed on wide screens while the user
   is working through their results list (body.stage-results). */
.ad-rail { position: sticky; top: 90px; flex: 0 0 160px; width: 160px; align-self: flex-start; display: none; }
.adbox-vert { height: 600px; min-height: 600px; }
@media (min-width: 1161px) { body.stage-results .ad-rail, body.rails-on .ad-rail { display: block; } }
@media (max-width: 1160px) { .work-row { max-width: 720px; } }

/* Ad slots */
.adbox { border: 1px dashed #DDD3E8; border-radius: 14px; min-height: 90px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; background: rgba(255,255,255,.4); padding: 10px; text-align: center; }
.adbox .ad-tag { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #B7B0C2; font-weight: 700; }
.adbox .ad-hint { font-size: 12px; color: #C4BDCE; }
.ad-work { margin: 26px 0 0; padding: 0 32px; }
.ad-mid { margin: 40px auto 0; padding: 0 32px; }

/* Stats */
.stats { margin: 64px auto 0; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: -1px; }
.stat-num .accent { color: var(--pink); }
.stat-label { font-size: 13px; color: var(--muted2); margin-top: 2px; }

/* Section headers */
.section { margin: 88px auto 0; padding: 0 32px; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #B4489A; margin-bottom: 12px; }
.section h2 { font-weight: 800; font-size: 40px; letter-spacing: -1px; margin: 0 0 12px; }
.lead { font-size: 17px; color: var(--muted); margin: 0 auto 44px; max-width: 540px; }

/* How it works */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.howcard { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-md); }
.howcard .preview { background: #FBF7FF; border: 1px solid #F0E8FA; border-radius: 14px; padding: 16px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; min-height: 56px; }
.howcard .preview i { font-size: 20px; color: var(--purple); }
.howcard .preview .mono { font-size: 13px; color: #7A7286; font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.howcard .step { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #B4489A; text-transform: uppercase; margin-bottom: 8px; }
.howcard h3 { font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.howcard p { font-size: 14.5px; color: #7A7286; line-height: 1.55; margin: 0; }
/* Full-width guide band under the "How it works" steps */
.guide-band { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 22px 26px; text-align: left;
  text-decoration: none; border-radius: 18px; background: linear-gradient(135deg, #F6EDFE, #FCEAF3);
  border: 1px solid #E7D4F8; box-shadow: var(--shadow-md); transition: box-shadow .15s, transform .12s; }
.guide-band:hover { box-shadow: 0 24px 48px -28px rgba(124,58,237,.55); transform: translateY(-1px); }
.guide-band-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(124,58,237,.5); }
.guide-band-icon i { color: #fff; font-size: 26px; }
.guide-band-text { flex: 1; min-width: 0; }
.guide-band-title { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.guide-band-sub { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.guide-band-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--grad);
  color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 12px;
  box-shadow: 0 10px 22px -10px rgba(124,58,237,.6); white-space: nowrap; }
.guide-band .arr { transition: transform .15s; }
.guide-band:hover .arr { transform: translateX(3px); }
@media (max-width: 640px) {
  .guide-band { flex-direction: column; align-items: flex-start; }
  .guide-band-cta { width: 100%; justify-content: center; }
}
.mini-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #EFE3FA; border-top-color: var(--pink); animation: cmf-spin 1s linear infinite; }
.mini-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #F0E8FA; border-radius: 9px; padding: 7px 9px; }
.mini-row .mini-av { width: 20px; height: 20px; border-radius: 50%; }
.mini-row span { font-size: 12px; color: #57506A; }
.mini-row .done-tag { margin-left: auto; font-size: 11px; color: var(--green); font-weight: 700; }

/* Features */
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: left; }
.fecard { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform .22s ease, box-shadow .22s ease; }
.fecard:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -28px rgba(124,58,237,.45); }
.fecard .bar { height: 4px; background: var(--bar, var(--grad)); }
/* Gradient border that "draws" itself around the card on hover — the colour
   traces from the top, down and around the perimeter, back to the top. */
.fe-ring { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; pointer-events: none; z-index: 1; }
.fe-ring rect {
  x: 1.5px; y: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); rx: 18px; ry: 18px;
  fill: none; stroke-width: 2.5px; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset .75s cubic-bezier(.65,0,.35,1);
}
.fecard:hover .fe-ring rect { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .fe-ring rect { transition: opacity .2s ease; stroke-dashoffset: 0; opacity: 0; }
  .fecard:hover .fe-ring rect { opacity: 1; }
}
.fecard .fe-body { padding: 26px; display: flex; gap: 16px; }
.fecard .fe-icon { width: 46px; height: 46px; border-radius: 13px; background: #F4EDFC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fecard .fe-icon i { font-size: 23px; color: var(--purple); }
.fecard h3 { font-weight: 700; font-size: 19px; margin: 0 0 7px; }
.fecard p { font-size: 14.5px; color: #7A7286; line-height: 1.55; margin: 0; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; text-align: left; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-family: var(--display); font-weight: 700; font-size: 16px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--body); font-weight: 400; color: var(--purple); font-size: 24px; line-height: 1; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-a a { color: var(--purple); font-weight: 600; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* Privacy band */
.pband-wrap { margin: 88px auto 0; padding: 0 32px; }
.pband { background: linear-gradient(135deg, #1B1523, #3A1E52); border-radius: 26px; padding: 52px 44px; text-align: center; position: relative; overflow: hidden; }
.pband .glow { position: absolute; top: -80px; right: -40px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, #EC4899 0%, rgba(236,72,153,0) 70%); opacity: .5; }
.pband .inner { position: relative; }
.pband .badge-green { display: inline-flex; align-items: center; gap: 8px; background: rgba(74,222,128,.15); color: #4ADE80;
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.pband h2 { font-weight: 800; font-size: 36px; letter-spacing: -1px; color: #fff; margin: 0 0 14px; }
.pband p { font-size: 17px; color: #C9C2D4; margin: 0 auto 28px; max-width: 560px; line-height: 1.6; }
.pband a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 14px; padding: 13px 22px; border-radius: 12px; }

/* Footer */
.footer { margin: 72px auto 0; padding: 40px 32px 56px; border-top: 1px solid #EBE3F2; display: flex;
  align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .fbrand { max-width: 320px; }
.footer .fbrand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .fbrand-row .brand-mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: none; }
.footer .fbrand-row .brand-mark i { font-size: 18px; }
.footer .fbrand p { font-size: 13.5px; color: var(--muted2); line-height: 1.6; margin: 0 0 14px; }
.footer .fcols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer .fcol { display: flex; flex-direction: column; gap: 11px; }
.footer .fcol-head { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #B7B0C2; margin-bottom: 3px; }
.footer .fcol a { text-decoration: none; color: #57506A; font-size: 14px; }
.footer .fcol a:hover { color: var(--purple); }

/* ---------- Privacy page ---------- */
.priv-head { max-width: 720px; margin: 0 auto; padding: 40px 32px 28px; }
.badge-green-solid { display: inline-flex; align-items: center; gap: 8px; background: #EAF7F0; color: var(--green);
  font-size: 13px; font-weight: 700; padding: 8px 15px; border-radius: 999px; margin-bottom: 22px; }
.priv-head h1 { font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 14px; }
.priv-head p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.priv-head .updated { font-size: 13px; color: var(--muted3); margin-top: 16px; }
.priv-highlights { max-width: 720px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hl-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 16px 40px -30px rgba(80,40,120,.4); }
.hl-card .hl-icon { width: 40px; height: 40px; border-radius: 11px; background: #F4EDFC; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hl-card .hl-icon i { color: var(--purple); font-size: 21px; }
.hl-card h3 { font-weight: 700; font-size: 15px; margin: 0 0 5px; }
.hl-card p { font-size: 13px; color: var(--muted2); line-height: 1.5; margin: 0; }
.priv-body { max-width: 720px; margin: 36px auto 0; padding: 0 32px; }
.priv-doc { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 38px 40px; box-shadow: 0 24px 60px -34px rgba(80,40,120,.4); }
.priv-sec { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #F0EAF6; }
.priv-sec:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.priv-sec h2 { font-weight: 700; font-size: 20px; letter-spacing: -.3px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.priv-sec h2 i { color: var(--purple); font-size: 22px; }
.priv-sec p { font-size: 15px; line-height: 1.7; color: #544D61; margin: 0; }
.priv-note { text-align: center; padding: 32px 0 8px; font-size: 13.5px; color: var(--muted2); line-height: 1.6; }
.priv-note a { color: var(--purple); font-weight: 600; text-decoration: none; }
.priv-cta { max-width: 720px; margin: 24px auto 0; padding: 28px 32px 56px; text-align: center; }
.priv-cta a { font-size: 15px; padding: 14px 26px; border-radius: 14px; }

/* ---------- Export guide ---------- */
.guide-steps { list-style: none; margin: 0; padding: 0; }
.guide-step { display: flex; gap: 18px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #F0EAF6; }
.guide-step:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.guide-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.guide-body h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 4px 0 8px; }
.guide-body p { font-size: 15px; line-height: 1.65; color: #544D61; margin: 0; }
.crumb { display: inline-block; background: #F4EDFC; color: var(--purple); font-weight: 600; font-size: 13.5px;
  padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.guide-opts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.guide-opts li { font-size: 15px; color: #544D61; }
.pill-opt { display: inline-block; background: #EAF7F0; color: var(--green); font-weight: 700; font-size: 13px;
  padding: 2px 10px; border-radius: 999px; }
.opt-note { font-size: 13px; color: var(--muted2); }

/* ---------- Blog ---------- */
.blog-hero { max-width: 720px; margin: 0 auto; padding: 40px 32px 8px; text-align: center; }
.blog-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin: 0 0 12px; }
.blog-hero p { font-size: 17px; color: var(--muted); margin: 0; }
.blog-list { max-width: 720px; margin: 28px auto 0; padding: 0 32px 20px; display: grid; gap: 16px; }
.blog-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  text-decoration: none; box-shadow: var(--shadow-md); transition: transform .12s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -30px rgba(80,40,120,.5); }
.blog-card .tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #B4489A; }
.blog-card h2 { font-size: 21px; font-weight: 800; margin: 8px 0; color: var(--ink); letter-spacing: -.3px; }
.blog-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.blog-card .readmore { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--purple); font-weight: 700; font-size: 14px; }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 28px 32px 10px; }
.article .meta { color: var(--muted3); font-size: 13px; margin-bottom: 12px; }
.article .meta a { color: var(--purple); text-decoration: none; }
.article h1 { font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.14; margin: 0 0 16px; }
.article h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; margin: 36px 0 12px; }
.article h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.article p, .article li { font-size: 16.5px; line-height: 1.75; color: #3F3A4A; }
.article .lede { font-size: 18.5px; color: var(--muted); line-height: 1.7; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--purple); font-weight: 600; }
.article-callout { background: #F7F0FE; border: 1px solid #E9DBFB; border-radius: 14px; padding: 16px 18px; margin: 22px 0; font-size: 15px; color: #4A4358; }
.article-callout b { color: var(--ink); }
.article-cta { background: var(--grad); border-radius: 18px; padding: 30px; text-align: center; margin: 36px 0; }
.article-cta h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.article-cta p { color: rgba(255,255,255,.92); margin: 0 0 18px; font-size: 15px; }
.article-cta a { background: #fff; color: var(--ink); font-weight: 700; padding: 13px 24px; border-radius: 12px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 720px) {
  .blog-hero h1 { font-size: 30px; }
  .article h1 { font-size: 29px; }
  .article, .blog-list, .blog-hero { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 720px) {
  .nav { padding: 18px 20px; flex-wrap: wrap; }
  .nav-pill { order: 3; width: 100%; justify-content: center; overflow-x: auto; }
  .hero { padding: 24px 20px 8px; }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .workspace, .ad-work, .ad-mid { padding-left: 20px; padding-right: 20px; }
  .section, .pband-wrap, .footer, .stats { padding-left: 20px; padding-right: 20px; }
  .cards2 { grid-template-columns: 1fr; }
  .section h2 { font-size: 30px; }
  .pband { padding: 40px 26px; }
  .pband h2 { font-size: 28px; }
  .fcard, .rcard { padding: 20px; }
  .footer { flex-direction: column; gap: 28px; }
  .priv-highlights { grid-template-columns: 1fr; }
  .priv-doc { padding: 26px 22px; }
  .priv-head h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .nav-actions .nav-cta { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dz-trust { gap: 14px; }
  .rhead-actions { width: 100%; }
}

/* Brand logo (CleanMyIGFeed) */
.brand-mark { background: none; overflow: hidden; box-shadow: 0 6px 16px -4px rgba(130,0,247,.45); }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-name .grad-text { background: linear-gradient(90deg, #8200F7, #B0089F); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Ad boxes are hidden until ads.js switches them on (real slot IDs set) */
body:not(.ads-on) .ad-rail, body:not(.ads-on) .ad-work, body:not(.ads-on) .ad-mid { display: none !important; }
/* Mobile nav: keep links on one line, keep logo full size */
.brand-mark { flex: 0 0 auto; }
@media (max-width: 760px) {
  .nav-pill a { white-space: nowrap; padding: 8px 10px; font-size: 13px; }
  .nav-pill { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-actions .btn-coffee { padding: 6px 9px; font-size: 12px; }
  .nav-pill a { padding: 7px 7px; font-size: 12.5px; }
}
