/* =====================================================================
   Proclee homepage - pending sections redesign (2026-11-21, localhost only)
     1. How Proclee works (compact V3)        .phs-how
     2. Sample reports (V2)                   .phs-samples
     3. Help choosing: AI Assistant + FAQs    .phs-help
     4. Free auction alerts (compact V3)      .phs-alerts
     5. Get expert help (V2)                  .phs-expert
     6. Homepage footer (V2)                  .pf2-foot
   Loaded ONLY by front/index.php ($pageHead). Every rule is scoped to .phs
   (the five sections) or .pf2-foot (front/home_footer.php, homepage only), so the
   navbar, the V5 hero, the property-checks section and every other page are
   unaffected. Runtime classes created by the existing chat / alert scripts
   (pn-ai-*, pn-af-status) are restyled here only inside .phs-help / .phs-alerts.
   ===================================================================== */

/* ---------- Shared section frame ---------- */
.phs {
    --phs-ink: #0a475f;
    --phs-text: #173746;
    --phs-muted: #5f7880;
    --phs-orange: #f28c28;
    --phs-orange-hover: #f59d45;
    --phs-on-orange: #12333b;
    --phs-mint: #b6efda;
    --phs-line: #dce9e7;
    --phs-dark: radial-gradient(circle at 92% 30%, rgba(39, 108, 101, .45), transparent 44%), linear-gradient(130deg, #164753 0%, #08303d 85%);
    --phs-ease: cubic-bezier(.2, .7, .22, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--phs-text);
    font-family: 'Gilroy', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.phs h2,
.phs h3,
.phs p,
.phs ul,
.phs ol,
.phs fieldset { margin: 0; }

.phs ul,
.phs ol { padding: 0; list-style: none; }

.phs a { color: inherit; text-decoration: none; }

.phs svg { display: block; }

.phs-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 var(--pn-gutter, clamp(16px, 8vw - 20px, 150px));
}

.phs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.phs-head > div { min-width: 0; }

.phs .phs-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #087c7a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.3;
    text-transform: uppercase;
}

.phs .phs-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--phs-orange);
    box-shadow: 0 0 0 5px rgba(242, 140, 40, .14);
}

.phs .phs-title {
    color: var(--phs-ink);
    font-family: inherit;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.phs .phs-sub {
    margin-top: 10px;
    color: var(--phs-muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.phs .phs-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid #d6e7e4;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #36686b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.phs .phs-pill svg { width: 16px; height: 16px; color: #14756b; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.phs-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Orange primary action (same look as the property-checks CTA) */
.phs .phs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    background: var(--phs-orange);
    color: var(--phs-on-orange);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 23px rgba(242, 140, 40, .22);
    transition: translate .25s var(--phs-ease), box-shadow .25s, background .25s;
}

.phs .phs-btn:hover,
.phs .phs-btn:focus-visible {
    background: var(--phs-orange-hover);
    color: var(--phs-on-orange);
    translate: 0 -2px;
    box-shadow: 0 13px 25px rgba(242, 140, 40, .34);
}

.phs .phs-btn svg { width: 17px; height: 17px; }

.phs a:focus-visible,
.phs button:focus-visible,
.phs summary:focus-visible,
.phs input:focus-visible,
.phs select:focus-visible {
    outline: 3px solid var(--phs-orange);
    outline-offset: 3px;
}

/* =====================================================================
   1. How Proclee works - compact V3
   ===================================================================== */
.phs-how {
    padding: 48px 0 52px;
    border-top: 1px solid #e0eae8;
    background: linear-gradient(110deg, #ffffff 0%, #f8fcfa 60%, #f0f8f5 100%);
}

.phs-how::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -190px;
    right: -150px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(194, 231, 220, .56);
    border-radius: 50%;
    box-shadow: 0 0 0 62px rgba(185, 230, 213, .11), 0 0 0 126px rgba(185, 230, 213, .05);
    pointer-events: none;
}

.phs-how .phs-head { margin-bottom: 34px; }

.phs .phs-how-video {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 17px 10px 12px;
    border: 1px solid #c9ded9;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    color: var(--phs-ink);
    font-size: 14px;
    font-weight: 700;
    transition: translate .22s var(--phs-ease), box-shadow .22s, border-color .22s;
}

.phs .phs-how-video:hover {
    translate: 0 -2px;
    border-color: #8abeb0;
    box-shadow: 0 8px 24px rgba(27, 93, 96, .09);
    color: var(--phs-ink);
}

.phs-how-play {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f8e3da;
    color: #c4552a;
}

.phs-how-play svg { width: 11px; height: 11px; fill: currentColor; }

.phs-how-ext { width: 14px; height: 14px; }

.phs-how-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: none;
}

.phs-how-steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 28px;
    left: 64px;
    right: 18%;
    border-top: 1px dashed #9fcfc2;
    pointer-events: none;
}

.phs-how-step { position: relative; min-width: 0; padding-right: 10px; }

.phs-how-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.phs-how-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid #b7ded4;
    border-radius: 17px;
    background: linear-gradient(145deg, #f6fffc, #dff5ed);
    color: #126e70;
    box-shadow: 0 8px 16px rgba(10, 82, 72, .04);
    transition: translate .25s var(--phs-ease), box-shadow .25s;
}

.phs-how-icon svg { width: 26px; height: 26px; stroke-width: 1.7; }

.phs .phs-how-num {
    padding: 3px 7px;
    border-radius: 6px;
    background: #f8fcf9;
    color: #6f9792;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.3;
}

.phs .phs-how-step h3 {
    margin-bottom: 7px;
    color: var(--phs-ink);
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.phs .phs-how-step p {
    max-width: 240px;
    color: var(--phs-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.phs-how-step:hover .phs-how-icon {
    translate: 0 -4px;
    box-shadow: 0 13px 24px rgba(10, 82, 72, .09);
}

.phs-how-step:last-child .phs-how-icon {
    border-color: #edc6ab;
    background: linear-gradient(140deg, #fff4e9, #f6d7bd);
    color: #b05d2b;
}

.phs .phs-how-step:last-child .phs-how-num { color: #b0683f; }

/* =====================================================================
   2. Sample reports - V2
   ===================================================================== */
.phs-samples {
    padding: 60px 0 66px;
    background:
        radial-gradient(ellipse 650px 420px at 0% 100%, rgba(184, 232, 221, .33), transparent 75%),
        linear-gradient(115deg, #f4f9fa 0%, #eaf4f7 100%);
}

.phs-samples::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: -250px;
    right: -220px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(15, 87, 98, .07);
    border-radius: 50%;
    box-shadow: 0 0 0 67px rgba(15, 87, 98, .021), 0 0 0 140px rgba(15, 87, 98, .012);
    pointer-events: none;
}

.phs-samples-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 20px;
    align-items: stretch;
}

.phs-samples-grid.phs-samples-one { grid-template-columns: minmax(0, 1fr); }

.phs-sfeat {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 310px;
    overflow: hidden;
    padding: 32px 30px;
    border-radius: 22px;
    background: radial-gradient(circle at 95% 45%, rgba(38, 111, 104, .42), transparent 46%), linear-gradient(120deg, #0b3442, #0a2c3b 84%);
    color: #fff;
    box-shadow: 0 20px 39px rgba(9, 48, 60, .14);
}

.phs-sfeat::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -115px;
    right: -90px;
    width: 355px;
    height: 355px;
    border: 1px solid rgba(191, 246, 225, .11);
    border-radius: 50%;
    box-shadow: 0 0 0 57px rgba(202, 246, 222, .03), 0 0 0 113px rgba(202, 246, 222, .02);
    pointer-events: none;
}

.phs-sfeat-body { position: relative; z-index: 2; max-width: 64%; }

.phs .phs-sfeat-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(199, 249, 227, .23);
    border-radius: 30px;
    background: rgba(190, 241, 224, .13);
    color: #bcefd9;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.phs-sfeat-tag svg { width: 14px; height: 14px; }

.phs .phs-sfeat-title {
    max-width: 390px;
    margin: 20px 0 10px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(25px, 2.2vw, 32px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.03em;
}

.phs .phs-sfeat-copy {
    max-width: 330px;
    color: #b4d2d2;
    font-size: 15px;
    line-height: 1.6;
}

.phs-sfeat-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 24px;
}

.phs .phs-sfeat-dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 4px;
    color: #d9f5ed;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
}

.phs .phs-sfeat-dl:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.phs-sfeat-dl svg { width: 16px; height: 16px; }

/* Decorative CSS paper stack (aria-hidden, no report data) */
.phs-doc {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 4%;
    width: 31%;
    height: 265px;
    display: flex;
    align-items: center;
    justify-content: center;
    translate: 0 -50%;
    pointer-events: none;
}

.phs-doc-back,
.phs-doc-mid,
.phs-doc-front {
    position: absolute;
    width: 166px;
    height: 220px;
    border-radius: 10px;
}

.phs-doc-back {
    border: 1px solid rgba(214, 255, 247, .36);
    background: rgba(116, 187, 186, .21);
    transform: translate(19px, -1px) rotate(9deg);
    box-shadow: 0 18px 45px rgba(4, 30, 40, .27);
}

.phs-doc-mid {
    background: rgba(188, 226, 215, .62);
    transform: translate(1px, 0) rotate(2deg);
    box-shadow: 0 13px 25px rgba(4, 30, 40, .2);
}

.phs-doc-front {
    position: relative;
    padding: 17px 16px;
    background: #f9fdf8;
    color: #0b4550;
    transform: translate(-17px, 1px) rotate(-7deg);
    box-shadow: 0 17px 44px rgba(4, 25, 34, .5);
    animation: phsPaper 7s ease-in-out infinite;
}

.phs-doc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8e9e4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.phs-doc-head svg { width: 17px; height: 17px; color: #0d7d74; }

.phs-doc-stamp {
    position: absolute;
    top: 56px;
    right: -6px;
    padding: 6px 8px;
    border: 1px solid #6dbfa3;
    border-radius: 4px;
    background: #d4f4e4;
    color: #147661;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    transform: rotate(-13deg);
}

.phs-doc-kicker {
    display: block;
    margin: 17px 0 9px;
    color: #779c96;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .05em;
}

.phs-doc-line { display: block; height: 6px; margin-bottom: 9px; border-radius: 10px; background: #dceae5; }
.phs-doc-line.is-orange { width: 65%; height: 5px; background: #ffc080; }
.phs-doc-line.is-mid { width: 77%; }
.phs-doc-line.is-short { width: 54%; }

.phs-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 18px; }
.phs-doc-grid i { height: 24px; border: 1px solid #dfebe4; border-radius: 4px; background: #e8f1ec; }

.phs-doc-foot {
    position: absolute;
    bottom: 17px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #247e6d;
    font-size: 8px;
    font-weight: 800;
}

.phs-doc-foot svg { width: 11px; height: 11px; }

@keyframes phsPaper {
    0%, 100% { transform: translate(-17px, 1px) rotate(-7deg); }
    50% { transform: translate(-17px, -5px) rotate(-5deg); }
}

/* Library of individual samples */
.phs-slib {
    min-width: 0;
    padding: 18px 22px 10px;
    border: 1px solid #dbe7e8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(26, 85, 98, .05);
}

.phs-slib-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 1px 14px;
    border-bottom: 1px solid #e6eeef;
}

.phs .phs-slib-head h3 {
    color: var(--phs-ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.phs .phs-slib-count {
    padding: 5px 9px;
    border: 1px solid #d8ebe5;
    border-radius: 30px;
    background: #eff8f5;
    color: #2f7069;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.phs-srow {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 8px 4px;
    border-bottom: 1px solid #e9eff0;
    border-radius: 10px;
    transition: background .22s, translate .22s var(--phs-ease);
}

.phs-srow:last-child { border-bottom: 0; }

.phs-srow:hover,
.phs-srow:focus-within {
    background: #f4fbf9;
    translate: 3px 0;
}

.phs-srow-icon {
    width: 38px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d1ede6;
    border-radius: 10px;
    background: linear-gradient(140deg, #e1f7f1, #f3fafd);
    color: #117b75;
}

.phs-srow-icon svg { width: 20px; height: 20px; }

.phs .phs-srow-name {
    display: block;
    color: var(--phs-text);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.phs .phs-srow-sub {
    display: block;
    margin-top: 3px;
    color: #6b8587;
    font-size: 12.5px;
    line-height: 1.3;
}

.phs-srow-actions { display: flex; align-items: center; gap: 6px; }

.phs .phs-srow-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e0ebea;
    border-radius: 9px;
    background: #f8fbfc;
    color: #245567;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}

.phs .phs-srow-actions a:first-child {
    border-color: #d6ede5;
    background: #e9f5f1;
    color: #0b6e66;
}

.phs .phs-srow-actions a:hover {
    border-color: #0c4250;
    background: #0c4250;
    color: #fff;
}

.phs-srow-actions svg { width: 14px; height: 14px; }

/* =====================================================================
   3. Help choosing - AI Assistant panel + FAQs
   ===================================================================== */
.phs-help {
    padding: 64px 0 70px;
    background: linear-gradient(130deg, #f7faf9, #ebf5f2 58%, #f7faf9);
}

.phs-ai {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 32%) minmax(0, 68%);
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at 12% 10%, rgba(75, 176, 167, .19), transparent 40%), linear-gradient(113deg, #103d49 0%, #092d39 65%, #0a3440 100%);
    color: #fff;
    box-shadow: 0 20px 45px rgba(8, 45, 54, .13);
}

.phs-ai::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .4;
    background-image: linear-gradient(rgba(187, 241, 223, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(187, 241, 223, .04) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}

.phs-ai-lead {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 28px 30px 34px;
}

.phs-ai-lead::after {
    content: "";
    position: absolute;
    top: 26px;
    right: 0;
    bottom: 26px;
    width: 1px;
    background: rgba(209, 251, 234, .14);
}

.phs-ai-mark {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(179, 249, 220, .33);
    border-radius: 15px;
    background: rgba(196, 243, 223, .07);
    color: #c8fae7;
    box-shadow: 0 0 0 5px rgba(185, 249, 221, .03);
}

.phs-ai-mark svg { width: 24px; height: 24px; stroke-width: 1.6; }

.phs-ai-mark::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--phs-orange);
    box-shadow: 0 0 15px var(--phs-orange);
    animation: phsSpark 3s ease-in-out infinite;
}

@keyframes phsSpark { 50% { opacity: .56; scale: .7; } }

.phs .phs-ai-title {
    color: #fff;
    font-family: inherit;
    font-size: clamp(25px, 2.1vw, 30px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.phs .phs-ai-title em { color: var(--phs-mint); font-style: normal; }

.phs .phs-ai-desc {
    max-width: 290px;
    margin-top: 12px;
    color: #a9c9c5;
    font-size: 14.5px;
    line-height: 1.65;
}

.phs-ai-work {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 28px 32px 24px 28px;
}

.phs .phs-ai-new {
    align-self: flex-end;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid rgba(199, 245, 223, .3);
    border-radius: 999px;
    background: rgba(199, 245, 223, .06);
    color: #d3eee5;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.phs .phs-ai-new[hidden] { display: none; }

.phs .phs-ai-new:hover { background: rgba(193, 245, 222, .16); }

/* The conversation: compact welcome + chips until a question is asked, then a scrolling history */
.phs-help .phs-ai-log {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    border-radius: 12px;
}

.phs-help .phs-ai-log:focus-visible { outline: 2px solid var(--phs-mint); outline-offset: 4px; }

.phs-help .pn-ai-started .phs-ai-log {
    gap: 10px;
    max-height: 360px;
    padding-right: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #719b91 transparent;
    scrollbar-width: thin;
}

.phs-help .phs-ai-log .pn-ai-msg {
    max-width: 88%;
    padding: 10px 13px;
    border: 1px solid rgba(215, 255, 241, .15);
    border-radius: 4px 13px 13px 13px;
    background: rgba(232, 255, 241, .08);
    color: #d9efe9;
    font-size: 14.5px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.phs-help .phs-ai-log .pn-ai-msg p,
.phs-help .phs-ai-log .pn-ai-msg li {
    font-size: inherit;
    line-height: inherit;
}

.phs-help .phs-ai-log .pn-ai-msg ul { padding-left: 18px; list-style: disc; }

.phs-help .phs-ai-log .pn-ai-user {
    border-color: transparent;
    border-radius: 13px 4px 13px 13px;
    background: #c6f3df;
    color: #123c42;
}

.phs-help .phs-ai-log .pn-ai-error {
    border-color: rgba(255, 190, 130, .32);
    background: rgba(255, 170, 90, .12);
    color: #ffe3c8;
}

.phs-help .phs-ai-log .pn-ai-msg a:not(.pn-ai-card) {
    color: #bff3dc;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.phs-help .phs-ai-log .pn-ai-msg a:not(.pn-ai-card):hover { color: #fff; }

.phs-help .pn-ai-cards { display: grid; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }

.phs-help a.pn-ai-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f3fbf8;
    color: var(--phs-text);
}

.phs-help a.pn-ai-card:hover { border-color: #8fd2bb; background: #fff; color: var(--phs-text); }

.phs-help .pn-ai-card-text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.phs-help .pn-ai-card-text strong { color: var(--phs-ink); font-size: 14.5px; font-weight: 700; }
.phs-help .pn-ai-card-text small { color: var(--phs-muted); font-size: 13px; line-height: 1.4; }
.phs-help .pn-ai-chev { flex: 0 0 auto; color: var(--phs-ink); font-size: 12px; }

.phs-help .pn-ai-samples,
.phs-help .pn-ai-sources,
.phs-help .pn-ai-handoff { margin-top: 8px; font-size: 14px; }

.phs-help .pn-ai-sources { color: #a8c7c1; }

.phs-help .phs-ai-log .pn-ai-typing { padding: 14px 16px; }
.phs-help .pn-ai-typing span { background: var(--phs-mint); }

/* Welcome line before the conversation starts (same text, shown without a bubble) */
.phs-ai-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    display: none;
    place-items: center;
    border: 1px solid rgba(198, 244, 223, .22);
    border-radius: 10px;
    background: rgba(187, 238, 215, .11);
    color: #baf2d8;
}

.phs-ai-avatar svg { width: 18px; height: 18px; stroke-width: 1.7; }

.phs-help #pnChat:not(.pn-ai-started) .phs-ai-log > .pn-ai-msg:first-child {
    position: relative;
    max-width: none;
    min-height: 34px;
    padding: 4px 0 0 48px;
    border: 0;
    background: none;
    color: #d9f1ea;
    font-size: 15px;
}

.phs-help #pnChat:not(.pn-ai-started) .phs-ai-avatar { display: grid; }

/* Suggested questions (existing four prompts; the chip text is what gets asked) */
.phs-help .phs-ai-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.phs-help .phs-ai-chips[hidden] { display: none; }

.phs-help .phs-ai-chips .pn-ai-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(167, 240, 211, .23);
    border-radius: 999px;
    background: rgba(199, 245, 223, .05);
    color: #d3eee5;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: translate .2s var(--phs-ease), background .2s, border-color .2s;
}

.phs-help .phs-ai-chips .pn-ai-chip:hover {
    translate: 0 -2px;
    border-color: rgba(201, 252, 225, .48);
    background: rgba(193, 245, 222, .14);
}

/* Composer */
.phs-ai-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    min-height: 56px;
    padding: 6px 6px 6px 16px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(6, 29, 40, .14);
}

.phs-ai-form:focus-within { outline: 2px solid #bbf1d1; outline-offset: 2px; }

.phs-help .phs-ai-form textarea {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    max-height: 120px;
    padding: 11px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #153e49;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.45;
    resize: none;
    box-shadow: none;
}

.phs-help .phs-ai-form textarea:focus-visible { outline: 0; }

.phs-help .phs-ai-form textarea::placeholder { color: #7f9595; opacity: 1; }

.phs .phs-ai-send {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: var(--phs-orange);
    color: var(--phs-on-orange);
    cursor: pointer;
    transition: background .2s, translate .2s var(--phs-ease);
}

.phs .phs-ai-send:hover { background: var(--phs-orange-hover); translate: 0 -1px; }
.phs .phs-ai-send:disabled { opacity: .55; cursor: default; translate: none; }
.phs-ai-send i { font-size: 16px; }

.phs .phs-ai-fine {
    color: #a8c7c1;
    font-size: 12.5px;
    line-height: 1.55;
}

.phs .phs-ai-alt {
    margin-top: -8px;
    color: #cfe6e0;
    font-size: 13.5px;
    line-height: 1.5;
}

.phs .phs-ai-alt a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: #d4f5e4;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.phs .phs-ai-alt a:hover { color: #fff; }

/* FAQs: two columns of native disclosures (all six existing questions and answers) */
.phs-faq { margin-top: 38px; }

.phs-faq-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 1px 16px;
}

.phs .phs-faq-title {
    color: var(--phs-ink);
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.phs .phs-faq-note { color: #5f7f86; font-size: 13.5px; line-height: 1.4; }

.phs-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.phs-faq-item {
    min-width: 0;
    border: 1px solid #dce9e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(3, 42, 48, .025);
    transition: border-color .22s, box-shadow .22s;
}

.phs-faq-item:hover { border-color: #c1dcd6; box-shadow: 0 9px 22px rgba(3, 42, 48, .045); }
.phs-faq-item[open] { border-color: #84cbb3; box-shadow: 0 10px 28px rgba(3, 55, 55, .065); }

.phs-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    padding: 14px 16px 14px 19px;
    border-radius: 14px;
    color: #133f4d;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.phs-faq-item summary::-webkit-details-marker { display: none; }
.phs-faq-item summary::marker { content: ""; }

.phs-faq-tog {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9f5f2;
    color: #2f7777;
    transition: background .2s, rotate .2s;
}

.phs-faq-tog::before,
.phs-faq-tog::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: currentColor;
}

.phs-faq-tog::after { rotate: 90deg; }

.phs-faq-item[open] .phs-faq-tog { background: #d5f1e6; rotate: 45deg; }

.phs .phs-faq-item p {
    margin: 0 19px 18px;
    padding-top: 13px;
    border-top: 1px solid #e8efed;
    color: #4f6c73;
    font-size: 15px;
    line-height: 1.65;
}

.phs .phs-faq-item p a { color: var(--phs-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   4. Free auction alerts - compact V3 (the existing form, re-skinned)
   ===================================================================== */
.phs-alerts {
    padding: 44px 0 48px;
    background: radial-gradient(circle at 90% 15%, #e0f1e9 0, transparent 45%), linear-gradient(140deg, #f4f9f9, #edf5f6);
}

.phs-alerts .phs-head { margin-bottom: 18px; }

.phs .phs-pill-green { border-color: #c6e8d8; background: #e5f6ec; color: #126f57; }
.phs .phs-pill-green svg { color: #137d61; }

.phs-alerts-shell {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    overflow: hidden;
    border: 1px solid #ddeae8;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(17, 63, 71, .12);
}

.phs-alerts-left {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px 30px 20px;
    background: radial-gradient(ellipse at 84% 61%, rgba(28, 99, 112, .33), transparent 53%), radial-gradient(ellipse at -6% 14%, rgba(66, 136, 120, .25), transparent 42%), linear-gradient(135deg, #123e4a, #082b38 82%);
    color: #fff;
}

.phs-alerts-left::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(215, 251, 244, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(215, 251, 244, .035) 1px, transparent 1px);
    background-size: 33px 33px;
    -webkit-mask-image: linear-gradient(0deg, #000, transparent 96%);
    mask-image: linear-gradient(0deg, #000, transparent 96%);
    pointer-events: none;
}

.phs .phs-alerts-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b6ebd7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}

.phs-alerts-kicker::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff9a2e;
    box-shadow: 0 0 14px rgba(255, 154, 46, .53);
}

.phs .phs-alerts-big {
    max-width: 400px;
    margin-top: 12px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(28px, 2.7vw, 38px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.phs .phs-alerts-big em { color: #b9f2d9; font-style: normal; }

.phs .phs-alerts-desc {
    max-width: 380px;
    margin-top: 9px;
    color: #b4d2d0;
    font-size: 15px;
    line-height: 1.5;
}

.phs-alerts-points {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 15px !important;
}

.phs-alerts-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e8fcf3;
    font-size: 14.5px;
    line-height: 1.45;
}

.phs-alerts-points span {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(179, 241, 219, .2);
    border-radius: 7px;
    background: rgba(189, 244, 224, .1);
    color: #c2f7e2;
}

.phs-alerts-points svg { width: 13px; height: 13px; stroke-width: 2; }

.phs-alerts-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    margin: auto -8px 4px;
    pointer-events: none;
}

.phs-alerts-radar {
    position: absolute;
    top: -25px;
    left: 11%;
    width: 184px;
    height: 184px;
    border: 1px solid rgba(149, 241, 222, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(153, 245, 223, .045), 0 0 0 82px rgba(153, 245, 223, .03);
    animation: phsRadar 7s ease-in-out infinite;
}

.phs-alerts-radar::after {
    content: "";
    position: absolute;
    inset: 40px;
    border: 1px dashed rgba(182, 248, 223, .16);
    border-radius: 50%;
}

.phs-alerts-pin {
    position: absolute;
    top: 14px;
    left: calc(35% - 15px);
    color: #b9f2d9;
    filter: drop-shadow(0 0 13px rgba(104, 217, 180, .39));
    animation: phsRise 5s ease-in-out infinite;
}

.phs-alerts-pin svg { width: 34px; height: 34px; }

.phs-alerts-notice {
    position: relative;
    z-index: 1;
    width: min(335px, 93%);
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-radius: 15px;
    background: #e9faf3;
    color: #153f49;
    box-shadow: 0 17px 35px rgba(2, 27, 38, .5), 0 0 0 1px rgba(220, 255, 244, .8);
    translate: 31px 22px;
    rotate: -2deg;
    animation: phsFloat 5s ease-in-out infinite;
}

.phs-alerts-notice-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #d3f1e5;
    color: #167e68;
}

.phs-alerts-notice-icon svg { width: 23px; height: 23px; }

.phs-alerts-notice-copy { flex: 1; min-width: 0; }
.phs-alerts-notice strong { display: block; font-size: 13.5px; letter-spacing: -.01em; }
.phs-alerts-notice small { display: block; margin-top: 4px; color: #5f7a81; font-size: 12px; }

.phs-alerts-notice-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9830;
    box-shadow: 0 0 0 5px rgba(255, 164, 56, .11);
}

.phs-alerts-example {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 8px;
    color: #95bcb9;
    font-size: 11px;
    letter-spacing: .02em;
}

@keyframes phsFloat { 50% { translate: 31px 14px; rotate: -1deg; } }
@keyframes phsRadar { 50% { opacity: .66; scale: 1.045; } }
@keyframes phsRise { 50% { translate: 0 -6px; } }

.phs .phs-alerts-browse {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #d4f8e7;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(212, 248, 231, .5);
    text-underline-offset: 5px;
}

.phs .phs-alerts-browse:hover { color: #fff; text-decoration-color: #fff; }
.phs-alerts-browse svg { width: 16px; height: 16px; transition: translate .2s; }
.phs-alerts-browse:hover svg { translate: 3px 0; }

/* The form (white) */
.phs-alerts-form {
    position: relative;
    min-width: 0;
    padding: 18px 28px 18px;
}

.phs-alerts-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, #ff9729, #ffc15c, transparent);
}

.phs-af-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
}

.phs .phs-af-head h3 {
    color: #153e4e;
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.phs .phs-af-head p { margin-top: 4px; color: #637d84; font-size: 14px; line-height: 1.5; }

.phs-af-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e8f6ef;
    color: #168170;
}

.phs-af-icon svg { width: 20px; height: 20px; }

.phs-alerts .phs-af-step { min-width: 0; padding: 0; border: 0; }
.phs-alerts .phs-af-step[hidden] { display: none; }

.phs-af-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 12px;
}

.phs-af-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.phs-af-wide { grid-column: 1 / -1; }

.phs-af-field > span {
    color: #234f5a;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.phs-af-field > span b { color: #c8650f; font-weight: 700; }
.phs-af-field > span small { color: #6f878d; font-size: 12px; font-weight: 500; }

.phs-alerts .phs-af-field input,
.phs-alerts .phs-af-field select {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #cddfe1;
    border-radius: 10px;
    background: #fbfdfd;
    color: #143e49;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    box-shadow: none;
    transition: box-shadow .2s, border-color .2s, background .2s;
}

.phs-alerts .phs-af-field select { cursor: pointer; }

.phs-alerts .phs-af-field input::placeholder { color: #8ba0a4; opacity: 1; }

.phs-alerts .phs-af-field input:focus,
.phs-alerts .phs-af-field select:focus {
    border-color: #259a86;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(36, 169, 139, .14);
    outline: 0;
}

.phs-alerts .phs-af-field input:focus-visible,
.phs-alerts .phs-af-field select:focus-visible { outline: 2px solid #259a86; outline-offset: 1px; }

.phs .phs-af-sep {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 -2px;
    color: #66808a;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.phs-af-sep::after { content: ""; flex: 1; height: 1px; background: #e2edec; }

.phs-af-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 24px;
    margin: 10px 0 0;
    color: #4c6d76;
    font-size: 13.5px;
    line-height: 1.5;
    cursor: pointer;
}

.phs-af-consent input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #197c69;
    cursor: pointer;
}

.phs-af-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.phs .phs-af-foot p { max-width: 250px; color: #66828a; font-size: 13px; line-height: 1.45; }

/* the scripts set these buttons' text, so the arrow is drawn with CSS */
.phs .phs-af-cta::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phs .phs-btn:disabled { opacity: .65; cursor: default; translate: none; box-shadow: none; }

.phs .phs-af-otp-note { margin: 4px 0 10px; color: #4c6d76; font-size: 14.5px; line-height: 1.5; }

.phs-af-otp-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.phs-af-otp-row .phs-af-field { flex: 0 1 180px; }

.phs .phs-af-otp-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }

.phs .phs-af-link {
    min-height: 44px;
    padding: 0 2px;
    border: 0;
    background: none;
    color: var(--phs-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.phs .phs-af-link:disabled { color: var(--phs-muted); text-decoration: none; cursor: default; }

/* Compact V3: extra vertical tuning on two-column widths (fields, 44px controls and OTP all kept) */
@media (min-width: 861px) {
    .phs-alerts { padding: 34px 0 38px; }
    .phs-alerts .phs-head { margin-bottom: 12px; }
    .phs-alerts .phs-eyebrow { margin-bottom: 9px; }
    .phs-alerts .phs-sub { margin-top: 6px; }
    .phs-alerts-left { padding-top: 20px; padding-bottom: 14px; }
    .phs-alerts-form { padding-top: 15px; padding-bottom: 14px; }
    .phs-af-head { margin-bottom: 7px; }
    .phs .phs-af-head h3 { font-size: 22px; }
    .phs .phs-af-head p { margin-top: 2px; font-size: 13.5px; }
    .phs-af-grid { row-gap: 6px; }
    .phs-af-field { gap: 3px; }
    .phs-af-field > span { font-size: 13px; }
    .phs .phs-af-sep { margin: 3px 0 -1px; }
    .phs-af-consent { margin-top: 8px; font-size: 13px; }
    .phs-af-foot { margin-top: 8px; }
    .phs .phs-af-foot .phs-btn { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
}

.phs-alerts .pn-af-status { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; }
.phs-alerts .pn-af-status:empty { display: none; }

/* =====================================================================
   5. Get expert help - V2
   ===================================================================== */
.phs-expert {
    padding: 56px 0 64px;
    background: linear-gradient(180deg, #f5f9fa 0%, #edf5f6 100%);
}

.phs-expert-shell {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    overflow: hidden;
    border: 1px solid #d5e8e8;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(12, 65, 69, .07);
}

.phs-expert-intro {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 40px 40px 36px;
    background: var(--phs-dark);
    color: #fff;
}

.phs-expert-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(rgba(220, 255, 243, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 255, 243, .04) 1px, transparent 1px);
    background-size: 39px 39px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
    pointer-events: none;
}

.phs-expert-rings {
    position: absolute;
    z-index: -1;
    top: -65px;
    right: -75px;
    width: 305px;
    height: 305px;
    border: 1px solid rgba(184, 240, 217, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(184, 240, 217, .045), 0 0 0 76px rgba(184, 240, 217, .035);
    pointer-events: none;
    animation: phsRing 8s ease-in-out infinite;
}

.phs-expert-rings::before,
.phs-expert-rings::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--phs-mint);
    box-shadow: 0 0 13px rgba(184, 240, 217, .5);
}

.phs-expert-rings::before { top: 52px; left: 27px; }
.phs-expert-rings::after { right: 70px; bottom: 0; background: var(--phs-orange); box-shadow: 0 0 13px rgba(255, 150, 39, .3); }

@keyframes phsRing { 50% { scale: 1.07; opacity: .7; } }

.phs-expert-intro .phs-eyebrow { color: #b7ebd9; }

.phs .phs-expert-title {
    color: #fff;
    font-family: inherit;
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.phs .phs-expert-title span { color: var(--phs-mint); }

.phs .phs-expert-lede {
    max-width: 380px;
    margin-top: 14px;
    color: #c5dddd;
    font-size: 16px;
    line-height: 1.65;
}

.phs-expert-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; }

.phs .phs-expert-cta .phs-btn { box-shadow: 0 9px 22px rgba(2, 15, 24, .3); }
.phs .phs-expert-cta .phs-btn svg { transition: translate .22s var(--phs-ease); }
.phs .phs-expert-cta .phs-btn:hover svg { translate: 4px 0; }

.phs .phs-expert-cta small { color: #a9c9c5; font-size: 13.5px; line-height: 1.4; }

.phs-expert-dir {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 34px 30px;
}

.phs-expert-dirhead { margin-bottom: 15px; }

.phs .phs-expert-dirhead h3 {
    color: var(--phs-ink);
    font-family: inherit;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.phs .phs-expert-dirhead p { margin-top: 4px; color: #627e85; font-size: 14px; line-height: 1.5; }

.phs-expert-list { display: flex; flex-direction: column; gap: 10px; }

.phs .phs-expert-opt {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #e0eaeb;
    border-radius: 14px;
    background: #fff;
    color: var(--phs-ink);
    transition: border-color .2s, translate .2s var(--phs-ease), background .2s, box-shadow .2s;
}

.phs .phs-expert-opt:hover,
.phs .phs-expert-opt:focus-visible {
    translate: 4px 0;
    border-color: #a4d8c7;
    background: #f1faf7;
    box-shadow: 0 8px 17px rgba(20, 92, 70, .06);
    color: var(--phs-ink);
}

.phs-expert-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #d0e9e0;
    border-radius: 12px;
    background: #e8f6f1;
    color: #187b66;
}

.phs-expert-icon svg { width: 23px; height: 23px; }

.phs-expert-list li:nth-child(2) .phs-expert-icon { border-color: #d8e6ef; background: #eef5fb; color: #316a8b; }
.phs-expert-list li:nth-child(3) .phs-expert-icon { border-color: #f4e1cf; background: #fff3e8; color: #b5651c; }

.phs-expert-copy { flex: 1; min-width: 0; }

.phs .phs-expert-copy strong { display: block; color: var(--phs-ink); font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.phs .phs-expert-copy small { display: block; margin-top: 4px; color: #627c85; font-size: 14px; line-height: 1.35; }

.phs-expert-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf5f6;
    color: #2d7180;
    transition: background .2s, translate .2s var(--phs-ease), color .2s;
}

.phs-expert-arrow svg { width: 17px; height: 17px; }

.phs .phs-expert-opt:hover .phs-expert-arrow { background: #d9f3e9; color: #116e59; translate: 3px 0; }

.phs .phs-expert-note { margin-top: 13px; color: #627c85; font-size: 13px; line-height: 1.5; }

/* =====================================================================
   Responsive - sections
   ===================================================================== */
@media (max-width: 1199.98px) {
    .phs-sfeat { padding: 26px 24px; }
    .phs-sfeat-body { max-width: 68%; }
    .phs-doc { right: 0; scale: .84; transform-origin: right center; }
    .phs-slib { padding: 16px 16px 8px; }
    .phs .phs-srow-actions a { padding: 0 10px; font-size: 13px; }
    .phs-ai-lead { padding: 28px 22px 26px 26px; }
    .phs-ai-work { padding: 26px 24px 22px; }
    .phs-alerts-left { padding: 22px 23px 18px; }
    .phs-alerts-form { padding: 18px 23px 18px; }
    .phs-alerts-form::before { left: 23px; right: 23px; }
    .phs-alerts-notice { translate: 9px 22px; animation-name: phsFloatMd; }
    .phs-expert-intro { padding: 34px 30px 32px; }
    .phs-expert-dir { padding: 28px 26px; }
}

@keyframes phsFloatMd { 50% { translate: 9px 14px; rotate: -1deg; } }

@media (max-width: 1023.98px) {
    .phs-samples-grid { grid-template-columns: minmax(0, 1fr); }
    .phs-sfeat-body { max-width: 66%; }
    .phs-doc { right: 3%; scale: .92; }
}

@media (max-width: 991.98px) {
    .phs-how-steps { gap: 12px; }
    .phs .phs-how-step h3 { font-size: 16px; }
    .phs .phs-how-step p { font-size: 13.5px; }
    .phs-ai { grid-template-columns: minmax(0, 34%) minmax(0, 66%); }
    .phs-alerts-shell { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
    .phs-expert-shell { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
}

@media (max-width: 860px) {
    .phs-alerts-shell { display: flex; flex-direction: column; }
    .phs-alerts-left { padding: 22px 25px 16px; }
    .phs .phs-alerts-big { max-width: 650px; font-size: 32px; }
    .phs .phs-alerts-desc { max-width: 600px; }
    .phs-alerts-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .phs-alerts-visual { min-height: 104px; margin: 10px 0 0; }
    .phs-alerts-radar { top: -44px; left: calc(50% - 92px); }
    .phs-alerts-pin { display: none; }
    .phs-alerts-notice { width: min(330px, 90%); translate: 36px 18px; animation-name: phsFloatSm; }
    .phs-alerts-form { padding: 20px 25px 20px; }
    .phs-alerts-form::before { left: 25px; right: 25px; }
}

@keyframes phsFloatSm { 50% { translate: 36px 11px; rotate: -1deg; } }

@media (max-width: 767.98px) {
    .phs-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
    .phs .phs-pill { display: none; }
    .phs .phs-sub { font-size: 15px; }
    .phs-how { padding: 38px 0 40px; }
    .phs-how .phs-head { margin-bottom: 26px; }
    .phs-samples { padding: 46px 0 52px; }
    .phs-help { padding: 48px 0 54px; }
    .phs-alerts { padding: 34px 0 40px; }
    .phs-alerts .phs-head { margin-bottom: 14px; }
    .phs-expert { padding: 40px 0 46px; }

    .phs-ai { display: flex; flex-direction: column; border-radius: 20px; }
    .phs-ai-lead { padding: 24px 22px 18px; }
    .phs-ai-lead::after { display: none; }
    .phs-ai-mark { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; }
    .phs-ai-mark svg { width: 21px; height: 21px; }
    .phs .phs-ai-desc { max-width: none; margin-top: 8px; }
    .phs-ai-work { gap: 13px; padding: 18px 18px 18px; border-top: 1px solid rgba(215, 251, 221, .12); }
    .phs .phs-ai-new { min-height: 44px; }
    .phs .phs-ai-alt { margin-top: -6px; }
    .phs .phs-ai-alt a { min-height: 44px; }
    .phs-af-consent { min-height: 44px; }
    .phs-help .phs-ai-chips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .phs-help .phs-ai-chips .pn-ai-chip { min-height: 44px; padding: 9px 11px; border-radius: 12px; font-size: 13px; }
    .phs-help .pn-ai-started .phs-ai-log { max-height: min(60vh, 440px); }
    .phs-help .phs-ai-log .pn-ai-msg { max-width: 96%; }
    .phs-help a.pn-ai-card { flex-wrap: wrap; row-gap: 6px; }

    .phs-faq { margin-top: 30px; }
    .phs .phs-faq-note { display: none; }
    .phs-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .phs-faq-item summary { min-height: 56px; padding: 13px 14px 13px 16px; font-size: 15px; }
    .phs .phs-faq-item p { margin: 0 16px 15px; }

    .phs-expert-shell { display: flex; flex-direction: column; border-radius: 20px; }
    .phs-expert-intro { padding: 30px 26px 30px; }
    .phs .phs-expert-lede { max-width: 540px; }
    .phs-expert-dir { padding: 24px 22px 26px; }
}

@media (max-width: 680px) {
    .phs-how-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 16px; }
    .phs-how-steps::before { display: none; }
    .phs-how-step { padding-right: 4px; }
    .phs-how-top { gap: 8px; margin-bottom: 12px; }
    .phs-how-icon { width: 48px; height: 48px; border-radius: 14px; }
    .phs-how-icon svg { width: 23px; height: 23px; }
    .phs .phs-how-step h3 { font-size: 15.5px; }
    .phs .phs-how-step p { font-size: 13.5px; line-height: 1.5; }
    .phs-how::after { opacity: .4; }

    .phs-alerts-points { display: flex; gap: 8px; margin-top: 12px !important; }
}

@media (max-width: 575.98px) {
    .phs .phs-title { font-size: 29px; }
    .phs .phs-eyebrow { margin-bottom: 10px; font-size: 11.5px; }

    .phs-sfeat { min-height: 300px; padding: 24px 20px; border-radius: 18px; }
    .phs-sfeat-body { max-width: 74%; }
    .phs .phs-sfeat-title { max-width: 230px; font-size: 25px; }
    .phs .phs-sfeat-copy { max-width: 230px; font-size: 14px; }
    .phs-sfeat-actions { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 18px; }
    .phs-doc { top: 46px; right: -12px; translate: none; scale: .6; opacity: .9; }
    .phs-slib { padding: 16px 14px 6px; border-radius: 18px; }
    .phs .phs-slib-head h3 { font-size: 16px; }
    .phs-srow { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 10px; padding: 12px 2px; }
    .phs-srow:hover, .phs-srow:focus-within { translate: none; }
    .phs-srow-icon { width: 34px; height: 38px; }
    .phs-srow-icon svg { width: 18px; height: 18px; }
    .phs-srow-actions { grid-column: 2; }
    .phs .phs-srow-actions a { padding: 0 11px; font-size: 13px; }

    .phs-alerts-left { padding: 20px 20px 14px; }
    .phs .phs-alerts-big { font-size: 28px; }
    .phs .phs-alerts-desc { font-size: 14px; }
    .phs-alerts-points li { font-size: 13.5px; }
    .phs-alerts-visual { min-height: 88px; margin: 2px 0 0; }
    .phs-alerts-radar { top: -44px; left: calc(50% - 85px); width: 170px; height: 170px; }
    .phs-alerts-pin { display: none; }
    .phs-alerts-notice { width: 88%; gap: 10px; padding: 9px 11px; translate: 11px 10px; animation-name: phsFloatXs; }
    .phs-alerts-notice-icon { flex-basis: 38px; width: 38px; height: 38px; }
    .phs-alerts-notice strong { font-size: 12.5px; }
    .phs-alerts-notice small { font-size: 11.5px; }
    .phs-alerts-example { font-size: 10px; }
    .phs-alerts-form { padding: 18px 18px 20px; }
    .phs-alerts-form::before { left: 18px; right: 18px; }
    .phs .phs-af-head h3 { font-size: 21px; }
    .phs .phs-af-head p { font-size: 13.5px; }
    .phs-af-icon { flex-basis: 36px; width: 36px; height: 36px; }
    .phs-af-grid { gap: 9px 10px; }
    .phs-af-grid > .phs-af-field:nth-child(1),
    .phs-af-grid > .phs-af-field:nth-child(2) { grid-column: 1 / -1; }
    .phs-af-field > span { font-size: 13px; }
    .phs-af-consent { font-size: 13px; }
    .phs-af-foot { flex-direction: column; align-items: stretch; gap: 9px; }
    .phs .phs-af-foot .phs-btn { width: 100%; }
    .phs .phs-af-foot p { max-width: none; text-align: center; font-size: 12.5px; }

    .phs-expert-intro { padding: 28px 22px 28px; }
    .phs .phs-expert-title { font-size: 33px; }
    .phs .phs-expert-lede { font-size: 15px; }
    .phs-expert-dir { padding: 21px 16px 22px; }
    .phs .phs-expert-dirhead h3 { font-size: 19px; }
    .phs .phs-expert-opt { gap: 12px; min-height: 70px; padding: 11px 10px; }
    .phs .phs-expert-opt:hover, .phs .phs-expert-opt:focus-visible { translate: none; }
    .phs .phs-expert-copy strong { font-size: 15.5px; }
    .phs .phs-expert-copy small { font-size: 13px; }
    .phs-expert-icon { flex-basis: 43px; width: 43px; height: 43px; }
}

@keyframes phsFloatXs { 50% { translate: 11px 5px; rotate: -1deg; } }

@media (max-width: 374.98px) {
    .phs .phs-title { font-size: 27px; }
    .phs .phs-how-step h3 { font-size: 14.5px; }
    .phs .phs-alerts-big { font-size: 26px; }
    .phs .phs-sfeat-title { font-size: 23px; }
    .phs-help .phs-ai-chips .pn-ai-chip { font-size: 12.5px; }
    .phs .phs-srow-actions a { padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .phs *,
    .phs *::before,
    .phs *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =====================================================================
   6. Homepage footer - V2 (front/home_footer.php)
   ===================================================================== */
.pf2-foot {
    --pn-gutter: clamp(16px, 8vw - 20px, 150px);
    --pf2-line: rgba(178, 229, 222, .2);
    --pf2-orange: #f28c28;
    --pf2-mint: #aef0d7;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(120deg, #0c4858 0%, #093d4d 43%, #073441 100%);
    color: #d5e8e9;
    font-family: 'Gilroy', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.pf2-foot::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 5% 8%, rgba(151, 232, 202, .09), transparent 28%), radial-gradient(circle at 96% 86%, rgba(65, 157, 159, .11), transparent 25%);
    pointer-events: none;
}

.pf2-foot::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pf2-orange) 0%, #d4f5e8 29%, #64cbb9 68%, transparent 100%);
    pointer-events: none;
}

.pf2-foot h2,
.pf2-foot p,
.pf2-foot ul { margin: 0; }

.pf2-foot ul { padding: 0; list-style: none; }

.pf2-foot a { color: inherit; text-decoration: none; }

.pf2-foot a:focus-visible,
.pf2-foot button:focus-visible {
    outline: 2px solid var(--pf2-orange);
    outline-offset: 4px;
    border-radius: 4px;
}

.pf2-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 var(--pn-gutter);
}

.pf2-main {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(26px, 3.2vw, 64px);
    padding-top: 50px;
    padding-bottom: 44px;
}

.pf2-brand { max-width: 440px; min-width: 0; }

.pf2-logo { display: inline-block; border-radius: 12px; }

.pf2-logo img {
    display: block;
    width: 116px;
    height: auto;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.pf2-foot .pf2-desc {
    max-width: 430px;
    margin: 19px 0 14px;
    color: #d5e8e9;
    font-size: 15px;
    line-height: 1.65;
}

.pf2-foot .pf2-meta { margin-bottom: 16px; color: #c7dcdf; font-size: 14px; line-height: 1.5; }
.pf2-foot .pf2-meta strong { color: var(--pf2-mint); font-weight: 700; }

.pf2-creds { display: flex; flex-wrap: wrap; gap: 7px; }

.pf2-creds li {
    padding: 8px 10px;
    border: 1px solid rgba(162, 229, 212, .28);
    border-radius: 9px;
    background: rgba(255, 255, 255, .055);
    color: #d4f1e9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pf2-col { min-width: 0; }

.pf2-foot .pf2-h {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 4px 0 18px;
    color: #f3fbfa;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pf2-h-text { display: flex; align-items: center; gap: 9px; }

.pf2-h-text::before,
.pf2-toggle::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 3px;
    border-radius: 10px;
    background: var(--pf2-orange);
}

.pf2-toggle { display: none; }

.pf2-links { display: flex; flex-direction: column; gap: 4px; }

.pf2-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 3px 0;
    color: #c1dce0;
    font-size: 14.5px;
    line-height: 1.4;
    transition: color .2s, translate .2s;
}

.pf2-links a::after {
    content: "\2197";
    color: var(--pf2-mint);
    font-size: 12px;
    opacity: 0;
    translate: -3px 2px;
    transition: opacity .2s, translate .2s;
}

.pf2-links a:hover { color: #fff; translate: 4px 0; }

.pf2-links a:hover::after,
.pf2-links a:focus-visible::after { opacity: 1; translate: 0 0; }

.pf2-contact-list { display: flex; flex-direction: column; gap: 6px; }

.pf2-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    color: #d4e8ea;
    font-size: 14.5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pf2-contact-list a:hover { color: #fff; }

.pf2-contact-list i { flex: 0 0 18px; color: var(--pf2-mint); font-size: 15px; text-align: center; }

.pf2-foot .pf2-h-social { margin-top: 26px; margin-bottom: 13px; }

.pf2-social { display: flex; flex-wrap: wrap; gap: 9px; }

.pf2-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(181, 229, 226, .25);
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    color: #ebffff;
    font-size: 17px;
    transition: background .2s, translate .2s, border-color .2s;
}

.pf2-social a:hover {
    translate: 0 -3px;
    border-color: rgba(167, 240, 215, .62);
    background: rgba(167, 240, 215, .14);
    color: #fff;
}

.pf2-bottom { border-top: 1px solid var(--pf2-line); background: rgba(0, 18, 26, .24); }

.pf2-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.pf2-foot .pf2-copy { color: #b4d0d4; font-size: 13px; line-height: 1.55; }
.pf2-foot .pf2-copy a { color: #e3f7f4; font-weight: 700; }
.pf2-foot .pf2-copy a:hover { color: #fff; text-decoration: underline; }

.pf2-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }

.pf2-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #c6dfe0;
    font-size: 13px;
    transition: color .2s;
}

.pf2-legal a:hover { color: #fff; }

@media (min-width: 992px) and (max-width: 1199.98px) {
    .pf2-foot { --pn-gutter: 32px; }
    .pf2-main { gap: 26px; }
    .pf2-foot .pf2-desc { font-size: 14px; }
    .pf2-links a, .pf2-contact-list a { font-size: 13.5px; }
    .pf2-creds li { font-size: 11px; }
}

@media (max-width: 991.98px) {
    .pf2-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px 44px; }
    .pf2-legal { justify-content: flex-end; }
    .pf2-bottom-row { align-items: flex-start; }
}

@media (max-width: 650px) {
    .pf2-main { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; padding-bottom: 22px; }
    .pf2-brand { max-width: none; padding-bottom: 22px; }
    .pf2-logo img { width: 104px; }
    .pf2-foot .pf2-desc { margin: 15px 0 12px; font-size: 14.5px; line-height: 1.6; }
    .pf2-foot .pf2-meta { margin-bottom: 13px; }
    .pf2-creds li { padding: 7px 8px; font-size: 11.5px; }
    .pf2-contact { grid-row: 2; padding: 20px 0 20px; border-top: 1px solid var(--pf2-line); }
    .pf2-contact .pf2-h { margin: 0 0 10px; }
    .pf2-foot .pf2-h-social { margin: 18px 0 11px; }

    /* Services + Company & Resources become disclosures (only once the script has run) */
    .pf2-group { border-top: 1px solid var(--pf2-line); }
    .pf2-group .pf2-h { margin: 0; }
    .pf2-js .pf2-group .pf2-h-text { display: none; }
    .pf2-js .pf2-toggle {
        display: flex;
        align-items: center;
        gap: 9px;
        width: 100%;
        min-height: 54px;
        padding: 0;
        border: 0;
        background: none;
        color: #f3fbfa;
        font: inherit;
        letter-spacing: inherit;
        text-align: left;
        text-transform: inherit;
        cursor: pointer;
    }
    .pf2-toggle::after {
        content: "+";
        margin-left: auto;
        color: var(--pf2-mint);
        font-size: 22px;
        font-weight: 300;
        line-height: 1;
    }
    .pf2-toggle[aria-expanded="true"]::after { content: "\2212"; }
    .pf2-js .pf2-group .pf2-links[hidden] { display: none; }
    .pf2-group .pf2-h-text { padding: 16px 0 12px; }
    .pf2-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; padding: 0 0 14px; }
    .pf2-links li { min-width: 0; }
    .pf2-links a { display: flex; min-height: 44px; padding: 8px 0; font-size: 14px; }
    .pf2-links a:hover { translate: none; }
    .pf2-contact-list a { min-height: 44px; }

    .pf2-bottom-row { flex-direction: column-reverse; align-items: flex-start; gap: 8px; padding-top: 14px; padding-bottom: 18px; }
    .pf2-legal { justify-content: flex-start; gap: 0 18px; }
    .pf2-legal a { min-height: 44px; }
    .pf2-foot .pf2-copy { font-size: 12.5px; }
}

@media (max-width: 374.98px) {
    .pf2-links { column-gap: 10px; }
    .pf2-links a { font-size: 13px; }
    .pf2-creds li { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .pf2-foot *,
    .pf2-foot *::before,
    .pf2-foot *::after {
        animation: none !important;
        transition: none !important;
    }
}
