/* ==========================================================================
   CortexPM homepage (landing_page.html), Nov 2026 redesign.
   Shared components (.site-*: sections, type, hero, browser frame, panels,
   rows, plans, final CTA) are in css/public-site.css. Only the sections no
   other page uses are here, scoped under .hp.
   ========================================================================== */

/* ---------- Hero (homepage extras on top of .site-hero) ---------- */
.hp .hp-hero__title { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; }
.hp .site-hero__copy { max-width: 1000px; }   /* the homepage headline breaks onto two lines on wide screens by design */
.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--site-on-dark-link);
}
.hp-pill:hover { color: #fff; }
.hp-pill__tag { font-weight: 600; color: var(--site-highlight); }

/* Product reel in the hero's browser frame (js/home-reel.js). The still underneath is the first
   clip's opening frame: the LCP image, and all there is without JS. */
.hp-reel__stage { position: relative; aspect-ratio: 16 / 9; background: #F7F7FA; }
.hp-reel__stage .hp-reel__still,
.hp-reel__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-reel__clip { opacity: 0; transition: opacity .45s ease; }
.hp-reel__clip.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hp-reel__clip { transition: none; } }

/* The pause button in the bar is .site-browser__toggle (public-site.css). */
.hp-reel__step:focus-visible { outline: 2px solid var(--site-highlight); outline-offset: 3px; }

.hp-reel__steps {
    margin: 0;
    padding: 12px 14px 14px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.hp-reel__step {
    width: 100%;
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border: 0;
    background: none;
    font: 500 13px/1.2 var(--site-font-body);
    color: var(--site-on-dark-subtle);
    text-align: left;
    cursor: pointer;
}
.hp-reel__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-reel__step:hover, .hp-reel__step[aria-current="true"] { color: #fff; }
.hp-reel__track { width: 100%; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.hp-reel__fill { display: block; width: 0; height: 100%; background: var(--site-highlight); }
.hp-reel__step.is-done .hp-reel__fill { width: 100%; }
/* The phone mockup sits over the frame's bottom-right corner: keep the last steps clear of it. */
@media (min-width: 720.02px) { .hp-reel__steps { padding-right: min(calc(17.5% + 20px), 256px); } }
@media (max-width: 720px) {
    .hp-reel__steps { gap: 6px; padding: 10px 12px 12px; }
    .hp-reel__label { display: none; }
    .hp-reel__step { padding: 8px 0; }   /* a taller target where the bar is all there is */
}

.hp-hero__phone {
    position: absolute;
    right: -1.5%;
    bottom: -56px;
    width: 19%;
    min-width: 150px;
    max-width: 236px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 36px;
    background: #0B0912;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8);
}
.hp-hero__phone img { width: 100%; border-radius: 28px; }

.hp-proof {
    margin-top: 112px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 28px 40px;
}
.hp-proof__item { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hp-proof__label { font-family: var(--site-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--site-highlight); }
.hp-proof__text { font-size: 16px; line-height: 1.5; color: var(--site-on-dark-link); }
.hp-proof__xero { margin-top: 6px; }

@media (max-width: 720px) {
    .hp-hero__phone { display: none; }
    .hp-proof { margin-top: 48px; }
}
/* Xero's sign-up widget is desktop-only (Russ, 9 Nov 2026). Only its wrapper is hidden;
   the button itself is Xero's and is never restyled. */
@media (max-width: 767.98px) {
    .hp-proof__xero { display: none; }
}

/* ---------- How it fits ---------- */
.hp-split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); }
.hp-split__intro { flex: 1 1 360px; max-width: 470px; display: flex; flex-direction: column; gap: 20px; }
.hp-fits { flex: 999 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); column-gap: 40px; }
.hp-fit { padding: 28px 0 32px; border-top: 1px solid var(--site-line); display: flex; flex-direction: column; gap: 10px; }

/* ---------- Enquiry to handover ---------- */
.hp-stages { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 40px 20px; }
.hp-stage { padding-top: 18px; border-top: 2px solid var(--site-text); display: flex; flex-direction: column; gap: 10px; }
.hp-stage p { font-size: 15px; line-height: 1.55; color: var(--site-muted); }
.hp-stage .site-link { font-size: 15px; }
.hp-underlay {
    margin-top: 48px;
    padding: 22px 26px;
    border-radius: 12px;
    background: var(--site-ink-2);
    color: var(--site-on-dark);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 32px;
}
.hp-underlay__text { flex: 1 1 360px; font-size: 16px; line-height: 1.5; color: var(--site-on-dark-link); }
.hp-underlay__link { font-size: 15px; font-weight: 600; color: #fff; }
.hp-underlay__link:hover { color: var(--site-highlight); }

/* ---------- Built by a builder ---------- */
.hp-founder { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.hp-founder__photo { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.hp-founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border: 1px solid rgba(255, 255, 255, .10); border-radius: 16px; }
.hp-founder__photo figcaption { font-family: var(--site-font-mono); font-size: 13px; color: var(--site-on-dark-subtle); }
.hp-founder__copy { flex: 999 1 520px; display: flex; flex-direction: column; gap: 28px; }
.hp-founder blockquote { display: flex; flex-direction: column; gap: 24px; }
.hp-founder__quote {
    font-family: var(--site-font-display);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: #fff;
    text-wrap: pretty;
}
.hp-cite { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.hp-cite__name { font-size: 16px; font-weight: 600; color: #fff; }
.hp-cite__role { font-size: 15px; color: var(--site-on-dark-subtle); }
.hp-founder__note { max-width: 600px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .10); font-size: 17px; line-height: 1.6; color: var(--site-on-dark-muted); }
.hp-voices { flex: 1 1 100%; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .10); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 64px; }
.hp-voices__label { flex: 0 0 200px; padding-top: 6px; color: var(--site-on-dark-subtle); }
.hp-voices figure { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.hp-voices__quote {
    font-family: var(--site-font-display);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: #fff;
    text-wrap: pretty;
}

/* ---------- Pricing ---------- */
.hp-plans__more { margin-top: 32px; text-align: center; }
