/* ============================================================
   Featured - /advertise/featured
   Loaded after advertise.css and reuses its pl- tokens and
   components. Page-specific pieces are prefixed ft-.
   ============================================================ */

/* ---------- Hero ---------- */
/* The hero renders in bannerinfo, outside .pl-page, so it needs the button tokens itself */
.ft-hero {
    --pl-brand: #8a3995;
    --pl-brand-deep: #7a2d85;
    --pl-brand-soft: #f3e8f9;
}
.ft-hero .pl-hero-inner { padding-top: 40px; padding-bottom: 64px; }
.ft-crumb { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.ft-crumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.ft-crumb a:hover, .ft-crumb a:focus { color: #fff; text-decoration: underline; }
.ft-crumb span { margin: 0 6px; }
.ft-hero p { max-width: 60ch; }
.ft-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.ft-hero-link { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.ft-hero-link:hover, .ft-hero-link:focus { color: #fff; text-decoration-thickness: 2px; }

/* ---------- Bands ---------- */
.pl-band.ft-band-white { background: var(--pl-surface); }

/* ---------- Feature cards (metrics) ---------- */
.ft-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ft-card {
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.ft-band-white .ft-card { background: var(--pl-bg); box-shadow: none; }
.ft-card .pl-ic { background: var(--pl-brand-soft); margin-bottom: 6px; }
.ft-band-white .ft-card .pl-ic { background: var(--pl-surface); }
.pl-page .ft-card h3 { font-size: 19px; }
.ft-card p { margin: 0; font-size: 15.5px; color: var(--pl-body); }
.ft-card small { display: block; margin-top: auto; padding-top: 10px; font-size: 13.5px; color: var(--pl-muted); }

/* ---------- Analytics ---------- */
.ft-report { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ft-panel {
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}
.ft-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.ft-panel-head b { font-size: 16px; color: var(--pl-ink); }
.ft-sample { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pl-faint); background: var(--pl-tint); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.ft-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ft-stat { border: 1px solid var(--pl-line); border-radius: 10px; padding: 14px; }
.ft-stat span { display: block; font-size: 12.5px; color: var(--pl-muted); }
.ft-stat b { display: block; margin-top: 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--pl-ink); }
.ft-stat em { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; font-weight: 600; color: #15803d; }
.ft-chart { margin-top: 20px; }
.ft-chart svg { display: block; width: 100%; height: auto; }
.ft-chart-key { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--pl-muted); }
.ft-chart-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.ft-mail-from { font-size: 13px; color: var(--pl-muted); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--pl-line); }
.ft-mail-from b { display: block; font-size: 15.5px; color: var(--pl-ink); margin-top: 2px; }
.ft-mail-rows { list-style: none; margin: 0; padding: 0; }
.ft-mail-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pl-tint); font-size: 14.5px; }
.ft-mail-rows li b { color: var(--pl-ink); }
.ft-note { margin: 0; font-size: 14.5px; color: var(--pl-muted); max-width: 76ch; }

/* ---------- Comparison chart ---------- */
.ft-cmp-wrap { border: 1px solid var(--pl-line); border-radius: 14px; background: var(--pl-surface); overflow: hidden; }
.ft-cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; }
.ft-cmp th, .ft-cmp td { padding: 16px 24px; border-bottom: 1px solid var(--pl-line); vertical-align: middle; }
.ft-cmp td { width: 230px; text-align: center; color: var(--pl-body); font-weight: 600; }
.ft-cmp thead th { width: 230px; padding: 22px 24px; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--pl-ink); vertical-align: bottom; }
.ft-cmp thead th:first-child { width: auto; }
.ft-cmp thead th.is-on { color: var(--pl-brand-deep); background: var(--pl-brand-soft); border-top: 4px solid var(--pl-brand); }
.ft-cmp-flag { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pl-brand); }
.ft-cmp tbody th { text-align: left; font-weight: 600; color: var(--pl-ink); }
.ft-cmp tbody th small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--pl-muted); }
.ft-cmp .ft-cmp-group th { padding: 12px 24px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-faint); background: var(--pl-tint); }
.ft-cmp td.is-on { background: #fbf6fd; color: var(--pl-ink); }
.ft-cmp svg { display: inline-block; width: 24px; height: 24px; vertical-align: middle; }
.ft-cmp-yes circle { fill: var(--pl-brand-soft); }
.ft-cmp-yes path { fill: none; stroke: var(--pl-brand-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ft-cmp-yes.is-strong circle { fill: var(--pl-brand); }
.ft-cmp-yes.is-strong path { stroke: #fff; }
.ft-cmp-no path { fill: none; stroke: #9ca3af; stroke-width: 2.6; stroke-linecap: round; }
.ft-cmp tfoot th, .ft-cmp tfoot td { padding-top: 26px; padding-bottom: 26px; border-bottom: 0; vertical-align: top; }
.ft-cmp tfoot th { text-align: left; font-size: 17px; font-weight: 700; color: var(--pl-ink); }
.ft-cmp-price { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--pl-ink); }
.ft-cmp td.is-on .ft-cmp-price { color: var(--pl-brand-deep); }
.ft-cmp-terms { display: block; margin-top: 8px; min-height: 38px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--pl-muted); }
.ft-cmp .ft-cmp-cta { margin-top: 18px; padding-left: 10px; padding-right: 10px; }
.ft-cmp-actions { display: none; }

/* ---------- Steps ---------- */
.ft-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: ft-step; }
.ft-steps li { counter-increment: ft-step; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 14px; padding: 24px; font-size: 15px; }
.ft-steps li::before {
    content: counter(ft-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--pl-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.ft-steps b { display: block; margin-bottom: 6px; font-size: 16.5px; color: var(--pl-ink); }

/* ---------- FAQ ---------- */
.ft-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.ft-faq details { background: var(--pl-bg); border: 1px solid var(--pl-line); border-radius: 12px; padding: 0 22px; }
.ft-faq summary { cursor: pointer; padding: 18px 0; font-size: 16.5px; font-weight: 700; color: var(--pl-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ft-faq summary::-webkit-details-marker { display: none; }
.ft-faq summary::after { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; color: var(--pl-brand); }
.ft-faq details[open] summary::after { content: "-"; }
.ft-faq summary:focus-visible { outline: 3px solid rgba(138, 57, 149, 0.35); outline-offset: 4px; border-radius: 6px; }
.ft-faq details p { margin: 0 0 20px; font-size: 15.5px; color: var(--pl-body); }

/* ---------- Closer ---------- */
.ft-closer-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.pl-closer-card .ft-closer-actions .pl-btn { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ft-report { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .ft-hero .pl-hero-inner { padding-top: 28px; padding-bottom: 44px; }
    .ft-card, .ft-panel { padding: 22px; }
    .ft-cmp { font-size: 14.5px; }
    .ft-cmp th, .ft-cmp td { padding: 14px 12px; }
    .ft-cmp td, .ft-cmp thead th { width: 84px; }
    .ft-cmp thead th { padding: 16px 6px; font-size: 14px; }
    .ft-cmp-flag { font-size: 9.5px; letter-spacing: 0.06em; }
    .ft-cmp .ft-cmp-group th { padding: 10px 12px; }
    .ft-cmp tbody th small { font-size: 13px; }
    .ft-cmp td { font-size: 13.5px; }
    .ft-cmp tfoot th { font-size: 15px; }
    .ft-cmp-price { font-size: 22px; }
    .ft-cmp .ft-cmp-terms { display: none; }
    .ft-cmp-fine { margin: 0; text-align: center; font-size: 13.5px; color: var(--pl-muted); }
    .ft-cmp .ft-cmp-cta { display: none; }
    .ft-cmp-actions { display: flex; flex-direction: column; gap: 12px; margin-top: -12px; }
    .ft-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
