/* ===================================================================
   QUIZ Q — multipage components (pages, teasers, redesigned blocks,
   interactive player, integrations, pricing, blog, contacts)
   =================================================================== */

/* ---------- Page hero (subpages) ---------- */
.phero { padding-top: clamp(156px, 17vw, 204px); padding-bottom: clamp(28px, 5vw, 56px); scroll-margin-top: 110px; }
.phero .wrap { position: relative; }
.phero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.phero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.phero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.045em; line-height: 1.1; max-width: 16ch; }
.phero h1 .script { font-size: 1.1em; line-height: 0.95; }
.phero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.26rem); }
.phero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.phero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.phero-meta .pm { display: flex; flex-direction: column; gap: 2px; }
.phero-meta .pm b { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.03em; }
.phero-meta .pm span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Legal documents ---------- */
.legal-section { scroll-margin-top: 120px; }
.legal-doc {
  padding: clamp(24px, 4vw, 46px);
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink-2);
}
.legal-doc h2 {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p,
.legal-doc li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}
.legal-doc p { margin-top: 12px; }
.legal-doc ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.legal-doc a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-note {
  margin: 0 0 26px !important;
  padding: 16px 18px;
  border: 1px solid color-mix(in oklab, var(--accent) 22%, white);
  border-radius: 16px;
  background: color-mix(in oklab, var(--accent) 6%, white);
  color: var(--ink-2) !important;
}

/* ---------- Home page teasers (link to subpages) ---------- */
.teasers { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.teaser {
  position: relative; padding: 26px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  text-decoration: none; color: inherit; min-height: 230px;
}
.teaser:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.teaser .t-top { display: flex; align-items: center; justify-content: space-between; }
.teaser h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.025em; margin-top: 18px; }
.teaser p { color: var(--muted); font-size: 0.98rem; margin-top: 8px; max-width: 42ch; }
.teaser .t-go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-deep); font-size: 0.95rem; }
.teaser .t-go svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.teaser:hover .t-go svg { transform: translateX(5px); }
.teaser .t-art { position: absolute; pointer-events: none; }

.teaser.feat { grid-column: span 6; min-height: 320px; }
.teaser.tpl { grid-column: span 5; }
.teaser.intg { grid-column: span 6; }
.teaser.price { grid-column: span 6; }
.teaser.blog { grid-column: span 6; }

/* dark teaser variant */
.teaser.dark { color: #fff; background: radial-gradient(120% 120% at 12% -10%, #234CC2, transparent 55%), linear-gradient(180deg, #11214B, var(--bg-deep)); border: 1px solid rgba(120,150,255,0.22); box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 36px 70px -38px rgba(11,20,48,0.7); }
.teaser.dark p { color: rgba(220,230,255,0.78); }
.teaser.dark .t-go { color: #BFD2FF; }
.teaser.dark .ipill { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); color: #fff; }

/* ---------- Living preview chips inside teasers ---------- */
.mini-quiz { display: grid; gap: 8px; margin-top: 18px; }
.mini-quiz .mq-bar { height: 6px; border-radius: 999px; background: rgba(20,40,90,0.10); overflow: hidden; }
.mini-quiz .mq-bar i { display: block; height: 100%; width: 58%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-soft), var(--accent)); }
.mini-quiz .mq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-quiz .mq-opt { font-size: 0.82rem; font-weight: 600; padding: 9px 11px; border-radius: 11px; border: 1.5px solid var(--line); background: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: space-between; }
.mini-quiz .mq-opt.sel { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, white); color: var(--accent-deep); }
.mini-quiz .mq-opt.sel::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }

/* ---------- Redesigned template cards (characterful) ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: var(--pill); background: rgba(255,255,255,0.6); border: 1px solid var(--glass-border); box-shadow: var(--sh-sm); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); flex-wrap: wrap; }
.tab { font-weight: 700; font-size: 0.9rem; color: var(--ink-2); padding: 0.5em 1.05em; border-radius: var(--pill); cursor: pointer; border: 0; background: transparent; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { color: #fff; background: linear-gradient(180deg, #16213f, var(--ink)); box-shadow: 0 6px 16px -8px rgba(11,20,48,0.6); }

.tcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.tcard {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.tcard .tc-preview { position: relative; padding: 18px; background: linear-gradient(160deg, rgba(47,107,255,0.10), rgba(47,107,255,0.02)); border-bottom: 1px solid var(--line-2); }
.tcard .tc-niche { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.85); border: 1px solid var(--glass-border); color: var(--accent-deep); box-shadow: var(--sh-sm); }
.tcard .tc-niche svg { width: 13px; height: 13px; }
.tcard .tc-step { font-size: 0.72rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.tcard .tc-q { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; max-width: 22ch; }
.tcard .tc-opts { display: grid; gap: 7px; }
.tcard .tc-o { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); padding: 8px 11px; border-radius: 10px; border: 1.5px solid var(--line); background: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 9px; }
.tcard .tc-o i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.tcard .tc-o.on { border-color: var(--accent); color: var(--accent-deep); background: color-mix(in oklab, var(--accent) 5%, white); }
.tcard .tc-o.on i { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2.5px #fff; }
.tcard .tc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tcard .tc-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.14rem; letter-spacing: -0.02em; }
.tcard .tc-body p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.tcard .tc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.tcard .tc-tags { display: flex; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.tcard .tc-use { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-deep); font-size: 0.88rem; }
.tcard .tc-use svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.tcard:hover .tc-use svg { transform: translateX(4px); }
.tcard.hide { display: none; }

/* ---------- Scenarios — editorial asymmetric ---------- */
.scn { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.scn-item {
  position: relative; padding: 26px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.scn-item:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.scn-item .scn-num { position: absolute; top: 8px; right: 18px; font-family: var(--font-display); font-weight: 700; font-size: 5rem; line-height: 1; color: color-mix(in oklab, var(--accent) 12%, transparent); letter-spacing: -0.05em; pointer-events: none; }
.scn-item .ipill { margin-bottom: 16px; }
.scn-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; letter-spacing: -0.02em; }
.scn-item p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; max-width: 38ch; }
.scn-item .scn-tag { margin-top: 16px; font-size: 0.78rem; font-weight: 700; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 7px; }
.scn-item .scn-tag svg { width: 15px; height: 15px; flex: none; }
.scn-item.lg { grid-column: span 6; min-height: 240px; }
.scn-item.sm { grid-column: span 3; }
.scn-item.md { grid-column: span 4; }
.scn-item.dark { color: #fff; background: radial-gradient(120% 130% at 90% -10%, #2A4FBF, transparent 55%), linear-gradient(180deg, #142554, var(--bg-deep)); border: 1px solid rgba(120,150,255,0.22); }
.scn-item.dark p { color: rgba(220,230,255,0.78); }
.scn-item.dark .scn-tag { color: #BFD2FF; }
.scn-item.dark .scn-num { color: rgba(160,190,255,0.16); }
.scn-item.dark .ipill { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: #fff; }

/* ---------- FAQ — livelier two-column ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside h2 { margin-bottom: 18px; }
.faq-aside .lead { margin-bottom: 24px; }
.faq-aside .ask { padding: 22px; border-radius: var(--r-lg); }
.faq-aside .ask h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.faq-aside .ask p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.faq-list { display: grid; gap: 12px; }
.qa2 { padding: 0; overflow: hidden; transition: box-shadow 0.3s; }
.qa2 summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 1.5vw, 1.14rem); letter-spacing: -0.02em; position: relative; }
.qa2 summary::-webkit-details-marker { display: none; }
.qa2 summary::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transform-origin: center; transition: transform 0.3s var(--ease); }
.qa2[open] summary::before { transform: scaleY(1); }
.qa2 summary .ic { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.7); border: 1px solid var(--line); transition: transform 0.3s var(--ease), background 0.2s; }
.qa2 summary .ic svg { width: 16px; height: 16px; color: var(--accent-deep); transition: color 0.2s; }
.qa2[open] summary .ic { transform: rotate(45deg); background: var(--accent); }
.qa2[open] summary .ic svg { color: #fff; }
.qa2 .qa-body { padding: 0 24px 24px 24px; color: var(--muted); font-size: 1rem; max-width: 64ch; }

/* ---------- Interactive quiz player (features) ---------- */
.player-stage { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.player {
  border-radius: var(--r-xl); padding: 30px; position: relative; overflow: hidden;
  min-height: 460px; display: flex; flex-direction: column;
}
.player .pl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.player .pl-count { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.player .pl-count b { color: var(--accent-deep); }
.player .pl-restart { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 6px 8px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.player .pl-restart:hover { color: var(--accent-deep); background: rgba(120,150,220,0.1); }
.player .pl-restart svg { width: 15px; height: 15px; }
.player .pl-bar { height: 8px; border-radius: 999px; background: rgba(20,40,90,0.08); overflow: hidden; margin-bottom: 26px; }
.player .pl-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-soft), var(--accent)); box-shadow: 0 0 12px color-mix(in oklab, var(--accent) 60%, transparent); transition: width 0.5s var(--ease); }
.player .pl-stage { flex: 1; display: flex; flex-direction: column; }
.player .pl-q { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.14; margin-bottom: 8px; }
.player .pl-hint { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.player .pl-opts { display: grid; gap: 12px; }
.player .pl-opts.cols { grid-template-columns: 1fr 1fr; }
.player .pl-opt {
  text-align: left; cursor: pointer; border-radius: 16px; padding: 16px; border: 1.6px solid var(--line);
  background: rgba(255,255,255,0.72); display: flex; align-items: center; gap: 14px; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--ink);
  transition: border-color 0.2s, transform 0.18s, box-shadow 0.2s, background 0.2s;
}
.player .pl-opt:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
.player .pl-opt .pl-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 16%, white), color-mix(in oklab, var(--accent) 5%, white)); color: var(--accent-deep); border: 1px solid color-mix(in oklab, var(--accent) 20%, white); }
.player .pl-opt .pl-ic svg { width: 21px; height: 21px; }
.player .pl-opt .pl-tk { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--line); display: grid; place-items: center; flex: none; transition: all 0.2s; }
.player .pl-opt .pl-tk svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.player .pl-opt.sel { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, white); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent); }
.player .pl-opt.sel .pl-tk { background: var(--accent); border-color: var(--accent); }
.player .pl-opt.sel .pl-tk svg { opacity: 1; }
.player .pl-nav { display: flex; gap: 12px; margin-top: 22px; }
.player .pl-nav .btn { flex: 1; justify-content: center; }
.player .pl-back { flex: 0 0 auto !important; }

/* result / lead screen */
.player .pl-result { text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; justify-content: center; }
.player .pl-result .rc-badge { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(150deg, var(--accent-soft), var(--accent)); color: #fff; box-shadow: var(--sh-accent); margin-bottom: 20px; }
.player .pl-result .rc-badge svg { width: 32px; height: 32px; stroke-width: 2; }
.player .pl-result h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.03em; }
.player .pl-result p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
.player .pl-result .rc-form { margin-top: 22px; width: 100%; max-width: 320px; display: grid; gap: 10px; }
.player .pl-result .rc-input { padding: 13px 16px; border-radius: 13px; border: 1.6px solid var(--line); background: rgba(255,255,255,0.8); font-family: var(--font-ui); font-size: 0.96rem; }
.player .pl-result .rc-input::placeholder { color: var(--muted-2); }

.anim-in { animation: plIn 0.45s var(--ease) both; }
@keyframes plIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* player side panel — how it maps to CRM */
.player-side { display: grid; gap: 14px; }
.ps-card { padding: 20px; }
.ps-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ps-card h4 svg { width: 18px; height: 18px; color: var(--accent); }
.ps-map { display: grid; gap: 9px; }
.ps-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.ps-row .k { color: var(--muted); min-width: 96px; }
.ps-row .v { font-weight: 700; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.ps-row .v { white-space: nowrap; }
.ps-row .v.empty { color: var(--muted-2); font-weight: 500; }
.ps-row .v .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); animation: psPulse 1.6s infinite; }
@keyframes psPulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Integrations ---------- */
.intg-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.intg-card { padding: 26px; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.intg-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.intg-card .ic-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.intg-logo { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--sh-sm); }
.intg-logo svg { width: 26px; height: 26px; }
.intg-logo.bx { background: linear-gradient(150deg, #2BA6E8, #1A82C9); }
.intg-logo.tg { background: linear-gradient(150deg, #34B4E8, #1B8FD1); }
.intg-logo.tilda { background: linear-gradient(150deg, #3A4D7A, #1B2C5E); }
.intg-logo.mail { background: linear-gradient(150deg, #4656D9, #2F6BFF); }
.intg-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; letter-spacing: -0.02em; }
.intg-card .ic-tag { font-size: 0.78rem; font-weight: 700; color: var(--accent-deep); }
.intg-card p { color: var(--muted); font-size: 0.96rem; margin-top: 6px; }
.intg-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.intg-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-2); }
.intg-card li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

.intg-flow-section { padding-top: clamp(6px, 1.5vw, 18px); scroll-margin-top: 120px; }
.flowmap {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(620px, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 420px;
  padding: clamp(30px, 4.5vw, 54px);
  border-radius: var(--r-xl);
}
.flowmap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 70% at 72% 42%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 66%),
    linear-gradient(120deg, rgba(255,255,255,.72), rgba(255,255,255,.26));
}
.flowmap > * { position: relative; z-index: 1; }
.fm-copy h2 {
  margin-top: 14px;
  max-width: 11ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.fm-copy p { margin-top: 18px; max-width: 34ch; color: var(--muted); font-size: 1.02rem; }
.fm-stage {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(54px, 0.24fr) minmax(150px, 0.85fr) minmax(54px, 0.24fr) minmax(210px, 1.1fr);
  align-items: center;
  gap: 14px;
}
.flowmap .fm-node {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}
.flowmap .fm-source,
.flowmap .fm-core-node {
  min-height: 190px;
  align-content: center;
  padding: 18px 14px;
  border-radius: 26px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 22px 42px -34px rgba(16,36,84,.45);
}
.flowmap .fm-core-node { background: rgba(255,255,255,.66); }
.flowmap .fm-core {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--accent-soft), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-accent);
}
.flowmap .fm-core svg { width: 38px; height: 38px; }
.flowmap .fm-icon {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--sh);
}
.flowmap .fm-icon svg { width: 32px; height: 32px; }
.flowmap .fm-icon.src { background: linear-gradient(150deg, #5A6B94, #36456E); }
.flowmap .fm-label { display: block; font-size: 0.9rem; font-weight: 800; color: var(--ink-2); line-height: 1.25; }
.flowmap .fm-note { display: block; margin-top: 3px; font-size: 0.78rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.flowmap .fm-line {
  height: 2px;
  min-width: 44px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,107,255,0), rgba(47,107,255,.85), rgba(47,107,255,0));
  position: relative;
}
.flowmap .fm-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}
.flowmap .fm-rows { display: grid; gap: 10px; }
.flowmap .fm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 14px 30px -28px rgba(16,36,84,.45);
}
.flowmap .fm-row .intg-logo { width: 46px; height: 46px; border-radius: 14px; }
.flowmap .fm-row .intg-logo svg { width: 23px; height: 23px; }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.price-toggle .sw { width: 52px; height: 30px; border-radius: 999px; background: rgba(20,40,90,0.12); position: relative; cursor: pointer; border: 0; transition: background 0.25s; }
.price-toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform 0.25s var(--ease); }
.price-toggle .sw.on { background: var(--accent); }
.price-toggle .sw.on::after { transform: translateX(22px); }
.price-toggle .save { font-size: 0.8rem; font-weight: 700; color: var(--accent-deep); background: color-mix(in oklab, var(--accent) 12%, white); padding: 4px 10px; border-radius: 999px; }
.price-toggle b.active-l { color: var(--ink); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: start; }
.tier { padding: 30px; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tier:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.tier.pop { background: radial-gradient(120% 120% at 15% -10%, #234CC2, transparent 55%), linear-gradient(180deg, #11214B, var(--bg-deep)); color: #fff; border: 1px solid rgba(120,150,255,0.25); box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 40px 80px -38px rgba(11,20,48,0.7); transform: translateY(-10px); }
.tier.pop:hover { transform: translateY(-15px); }
.tier .badge { align-self: flex-start; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 11px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 14%, white); color: var(--accent-deep); margin-bottom: 14px; }
.tier.pop .badge { background: rgba(255,255,255,0.16); color: #BFD2FF; }
.tier h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.02em; }
.tier .t-desc { font-size: 0.92rem; color: var(--muted); margin-top: 6px; min-height: 40px; }
.tier.pop .t-desc { color: rgba(220,230,255,0.78); }
.tier .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; flex-wrap: wrap; }
.tier .price .num { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.04em; white-space: nowrap; }
.tier .price .per { color: var(--muted); font-size: 0.92rem; line-height: 1.3; }
.tier.pop .price .per { color: rgba(220,230,255,0.7); }
.tier .btn { margin: 22px 0; justify-content: center; }
.tier.pop .btn-dark { background: #fff; color: var(--ink); }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tier li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.94rem; }
.tier li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }
.tier.pop li svg { color: #8FB4FF; }
.tier li.off { color: var(--muted-2); }
.tier li.off svg { color: var(--muted-2); }

/* ---------- Blog ---------- */
.blog-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.blog-feature .bf-media { min-height: 320px; position: relative; background: radial-gradient(120% 120% at 20% 10%, #3D63D6, transparent 55%), linear-gradient(150deg, #1B2C5E, #11204A); display: grid; place-items: center; }
.blog-feature .bf-media svg { width: 80px; height: 80px; color: rgba(255,255,255,0.85); stroke-width: 1.2; }
.blog-feature .bf-body { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.blog-feature .bf-body h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 12px; }
.blog-feature .bf-body p { color: var(--muted); font-size: 1.02rem; max-width: 50ch; }

.cat-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 36px; }
.cat-pill { font-weight: 700; font-size: 0.88rem; padding: 0.5em 1.05em; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.6); color: var(--ink-2); cursor: pointer; transition: all 0.2s; }
.cat-pill:hover { color: var(--ink); transform: translateY(-2px); }
.cat-pill.active { color: #fff; background: linear-gradient(180deg, #16213f, var(--ink)); border-color: transparent; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.post { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.post .p-media { height: 150px; display: grid; place-items: center; position: relative; }
.post .p-media svg { width: 44px; height: 44px; color: rgba(255,255,255,0.9); stroke-width: 1.3; }
.post .p-media.v1 { background: linear-gradient(150deg, #4656D9, #2F6BFF); }
.post .p-media.v2 { background: linear-gradient(150deg, #2293D8, #1B6FC4); }
.post .p-media.v3 { background: linear-gradient(150deg, #3A4D7A, #1B2C5E); }
.post .p-media.v4 { background: linear-gradient(150deg, #1AA6C2, #2F6BFF); }
.post .p-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post .p-cat { font-size: 0.76rem; font-weight: 700; color: var(--accent-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.post .p-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 8px; }
.post .p-body p { color: var(--muted); font-size: 0.9rem; }
.post .p-meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 0.82rem; color: var(--muted-2); font-weight: 600; }
.post .p-meta svg { width: 14px; height: 14px; }
.post.hide { display: none; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.cform { padding: clamp(26px, 4vw, 38px); }
.cform .field { display: grid; gap: 8px; margin-bottom: 18px; }
.cform label { font-weight: 700; font-size: 0.88rem; color: var(--ink-2); }
.cform input, .cform textarea, .cform select { font-family: var(--font-ui); font-size: 1rem; padding: 14px 16px; border-radius: 14px; border: 1.6px solid var(--line); background: rgba(255,255,255,0.8); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-legal { margin-top: 12px; color: var(--muted-2); font-size: 0.82rem; line-height: 1.5; text-align: center; }
.form-legal a { color: var(--accent-deep); font-weight: 700; text-decoration: none; }
.form-legal a:hover { text-decoration: underline; }

.channels { display: grid; gap: 14px; }
.channel { padding: 20px; display: flex; align-items: center; gap: 16px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); text-decoration: none; color: inherit; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.channel .ch-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.channel .ch-ic svg { width: 23px; height: 23px; }
.channel .ch-ic.tg { background: linear-gradient(150deg, #34B4E8, #1B8FD1); }
.channel .ch-ic.ml { background: linear-gradient(150deg, #4656D9, #2F6BFF); }
.channel .ch-ic.ch { background: linear-gradient(150deg, #3A4D7A, #1B2C5E); }
.channel h4 { font-weight: 700; font-size: 1.02rem; }
.channel p { color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.channel .ch-go { margin-left: auto; color: var(--muted-2); }
.channel .ch-go svg { width: 18px; height: 18px; }

/* ---------- shared section divider eyebrow w/ accent ---------- */
.kicker { display: inline-flex; align-items: center; gap: 9px; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .player-stage { grid-template-columns: 1fr; }
  .tcat-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier.pop { transform: none; } .tier.pop:hover { transform: translateY(-5px); }
  .intg-hub { grid-template-columns: 1fr; }
  .flowmap { grid-template-columns: 1fr; min-height: 0; }
  .fm-copy h2 { max-width: 16ch; }
  .fm-copy p { max-width: 58ch; }
  .fm-stage { grid-template-columns: minmax(140px, 1fr) 56px minmax(140px, 1fr); }
  .flowmap .fm-rows { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; }
  .fm-stage > .fm-line:nth-of-type(2) { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .blog-feature { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .teaser.feat, .teaser.tpl, .teaser.intg, .teaser.price, .teaser.blog { grid-column: span 6; }
  .scn-item.lg, .scn-item.md, .scn-item.sm { grid-column: span 6; }
}
@media (max-width: 640px) {
  .tcat-grid, .post-grid { grid-template-columns: 1fr; }
  .teaser.feat, .teaser.tpl, .teaser.intg, .teaser.price, .teaser.blog { grid-column: span 12; }
  .scn-item.lg, .scn-item.md, .scn-item.sm { grid-column: span 12; }
  .phero { padding-top: 132px; }
  .flowmap { padding: 22px; border-radius: 28px; }
  .fm-stage { grid-template-columns: 1fr; gap: 12px; }
  .flowmap .fm-source,
  .flowmap .fm-core-node { min-height: 0; grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 14px; }
  .flowmap .fm-icon,
  .flowmap .fm-core { width: 56px; height: 56px; border-radius: 17px; }
  .flowmap .fm-icon svg,
  .flowmap .fm-core svg { width: 26px; height: 26px; }
  .flowmap .fm-line { width: 2px; height: 28px; min-width: 0; justify-self: 28px; background: linear-gradient(180deg, rgba(47,107,255,0), rgba(47,107,255,.85), rgba(47,107,255,0)); }
  .flowmap .fm-line::after { right: auto; left: 50%; top: auto; bottom: -3px; transform: translateX(-50%) rotate(135deg); }
  .flowmap .fm-rows { grid-template-columns: 1fr; margin-top: 0; }
  .player .pl-opts.cols { grid-template-columns: 1fr; }
  .cform .row2 { grid-template-columns: 1fr; }
  .phero-meta { gap: 18px; }
}
