/* «Platform HQ» — the LinkAndBook headquarters front page, on the Mentor glass base */
.phq .mios-glass { border-radius: var(--radius); }
.phq main section { position: relative; z-index: 1; }

/* Hero */
.phq-hero { padding: 48px 0 12px; }
.phq-hero-card { padding: clamp(24px, 5vw, 56px); overflow: hidden; position: relative; }
.phq-hero-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent); pointer-events: none; }
.phq-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em;
    color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 6px 12px; border-radius: 999px; }
.phq-hero h1 { font-size: clamp(1.9rem, 5.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 12px; max-width: 18ch; }
.phq-lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--ink-2); max-width: 60ch; margin: 0 0 22px; }
.phq-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.phq-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.phq-stats div { background: var(--fill); border-radius: var(--radius-sm); padding: 14px 16px; }
.phq-stats strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.phq-stats span { color: var(--ink-2); font-size: 0.85rem; }
@media (min-width: 768px) { .phq-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Shared icon bubble */
.phq-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto;
    background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-size: 1.25rem; }

/* Business types */
.phq-types { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .phq-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .phq-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phq-type { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.phq-type-head { display: flex; gap: 12px; align-items: center; }
.phq-type h3 { font-size: 1.1rem; font-weight: 700; }
.phq-type ul, .phq-module ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }
.phq-type-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.phq-type-foot a, .phq-type-foot button { display: inline-flex; align-items: center; gap: 6px; font: 600 0.85rem var(--sys);
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass-strong); color: var(--ink);
    text-decoration: none; cursor: pointer; }
.phq-type-foot button { background: var(--brand); color: #fff; border-color: transparent; }

/* Modules */
.phq-modules { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .phq-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .phq-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phq-module { padding: 18px; }
.phq-module h3 { font-size: 1.05rem; font-weight: 700; margin: 12px 0 8px; }

/* Steps */
.phq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none; }
@media (min-width: 768px) { .phq-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phq-steps li { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.phq-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
    background: var(--brand); color: #fff; }
.phq-steps h3 { font-size: 1.05rem; font-weight: 700; }
.phq-steps p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.phq-link { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; color: var(--brand);
    font: 700 0.92rem var(--sys); text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }

/* Plans */
.phq-plans { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .phq-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phq-plan { padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.phq-plan.best { outline: 2px solid var(--brand); }
.phq-plan h3 { font-size: 1.4rem; font-weight: 800; }
.phq-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.phq-plan li i { color: var(--brand); }
.phq-plan .mios-btn { margin-top: auto; width: 100%; }
.phq-badge { position: absolute; top: 16px; right: 16px; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    background: var(--brand); color: #fff; }

/* Customers */
.phq-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .phq-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.phq-logos a { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 12px; border-radius: var(--radius-sm); }
.phq-logos img { max-width: 100%; max-height: 56px; object-fit: contain; }

/* Support */
.phq-support { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .phq-support { grid-template-columns: 3fr 2fr; } }

/* Partners */
.phq-partners { padding: clamp(20px, 4vw, 32px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.phq-partners h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.phq-partners p { margin: 6px 0 0; color: var(--ink-2); max-width: 60ch; }
.phq-partner-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Service cards: compact — the icon as a strip at the side, not a 150 px picture */
.phq .mios-card { flex-direction: row; }
.phq .mios-card-media.no-photo { height: auto; width: 60px; flex: 0 0 60px; }
.phq .mios-card-media.no-photo i { font-size: 1.5rem; }
.phq .mios-card-media:not(.no-photo) { height: auto; width: 96px; flex: 0 0 96px; }
.phq .mios-card-body { padding: 14px 16px; gap: 8px; }
.phq .mios-card-body h3 { font-size: 1.02rem; }
.phq .mios-card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
