/* -----------------------------------------------------------------
   home.css — index.php page-specific styles (loaded after css/site.css).

   Content-first / GEO home. Layout is a single dark hero band that the
   absolute transparent-header overlaps, followed by light #content
   blocks: definition + pillars, use-case cards, product cards, FAQ,
   proof cards and a CTA promo. Tokens come from site.css
   (--brand / --dark-bg / --dark-ink / --ink / --muted / --line).
----------------------------------------------------------------- */

/* -----------------------------------------------------------------
   1. Hero band (dark, sits under the absolute transparent header)
----------------------------------------------------------------- */
.home-hero {
    position: relative;
    /* clear the 100px absolute header + breathing room */
    padding: calc(var(--header-h) + 55px) 0 70px;
    background: var(--dark-bg);
    background-image:
        radial-gradient(60% 120% at 85% 0%, rgba(63, 137, 177, 0.20), transparent 60%),
        linear-gradient(180deg, #1c2127 0%, #191e24 100%);
    overflow: hidden;
}

.home-eyebrow {
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    /* lighter brand tint: 5.5:1 on the dark hero (plain --brand is only 4.18:1) */
    color: #5a9ec4;
}

.home-hero h1 {
    max-width: 16ch;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    line-height: 1.15;
    font-weight: 700;
    text-wrap: balance;
}

.home-hero-sub {
    max-width: 60ch;
    margin: 0 0 28px;
    color: var(--dark-ink);
    font-size: 1.2rem;
    line-height: 1.6;
}
.home-hero-sub em { color: #fff; font-style: italic; }

.home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.home-hero-cta .button { margin: 0; }

/* Fact strip — four self-contained facts, quotable + scannable */
.factstrip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
.factstrip li {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.02);
}
.factstrip b {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}
.factstrip span {
    display: block;
    color: rgba(207, 216, 223, 0.85);
    font-size: 0.86rem;
    line-height: 1.45;
}

/* -----------------------------------------------------------------
   2. Content blocks
----------------------------------------------------------------- */
#content { padding: 70px 0 20px; }

.home-block {
    margin-bottom: 70px;
    /* deep links (#what, #products, #faq, #proof) clear the sticky header */
    scroll-margin-top: 90px;
}
.home-block > .lead { margin-bottom: 18px; }
.home-block > p { max-width: 68ch; }

/* Three pillars under the definition */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.pillar {
    padding-top: 20px;
    border-top: 3px solid var(--brand);
}
.pillar h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}
.pillar p {
    margin: 0;
    color: #555;
    font-size: 0.96rem;
}

/* -----------------------------------------------------------------
   3. Card grids (use cases, products, proof)
   Each card is a whole-card <a>; set inner text colours explicitly so
   the anchor colour does not cascade blue onto headings / paragraphs.
----------------------------------------------------------------- */
.u-card, .prod-card, .proof-card {
    display: block;
    height: 100%;
    padding: 22px 22px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.u-card:hover, .prod-card:hover, .proof-card:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 26px rgba(28, 33, 39, 0.10);
    transform: translateY(-3px);
}

/* Use-case card */
.u-card .u-k {
    display: block;
    margin-bottom: 8px;
    color: var(--heading-ink);
    font-size: 1.12rem;
    font-weight: 700;
}
.u-card p {
    margin: 0 0 14px;
    color: #555;
    font-size: 0.93rem;
    line-height: 1.55;
}
.u-card .u-link {
    display: inline-block;
    color: var(--brand-dark);
    font-size: 0.86rem;
    font-weight: 600;
}
.u-card:hover .u-link { color: var(--brand-darker); }

/* Product card */
.prod-card .prod-layer {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 10px;
    background: rgba(63, 137, 177, 0.10);
    color: var(--brand-dark);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.prod-card h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}
.prod-card p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Proof / recognition card */
.proof-card {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
}
.proof-card .proof-t {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.proof-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--heading-ink);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
}
.proof-card .proof-v {
    display: block;
    margin-top: auto;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

/* -----------------------------------------------------------------
   4. FAQ (details.accordion-item styled by site.css) + helper text
----------------------------------------------------------------- */
.home-faq { max-width: 820px; }

.home-links {
    margin-top: 26px;
    font-size: 0.95rem;
}
.home-disclaimer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 90ch;
}

/* CTA promo sub-line (a <span>, not a <p>) */
.promo .col-lg > span {
    display: block;
    margin-top: 4px;
    color: #555;
}

.home-updated {
    margin: 0 0 40px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* -----------------------------------------------------------------
   5. Responsive
----------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* header is in normal flow below this width — drop the clearance */
    .home-hero { padding-top: 55px; }
    .factstrip { grid-template-columns: repeat(2, 1fr); }
    .pillars { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 575.98px) {
    .home-hero { padding-top: 40px; padding-bottom: 50px; }
    .home-hero-sub { font-size: 1.08rem; }
    .factstrip { grid-template-columns: 1fr; }
    .home-hero-cta .button { width: 100%; }
    .home-block { margin-bottom: 54px; }
}
