/* ==========================================================================
   Liberum QA — Public marketing styles
   ========================================================================== */

/* Hero */
.hero {
    background-color: #111827;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #F3F4F6;
    padding: 6rem 0 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(196, 30, 58, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.85) 55%, rgba(43, 26, 34, 0.88) 100%);
    pointer-events: none;
}
.hero-inner {
    display: block;
    text-align: left;
    position: relative;
    z-index: 1;
}
.hero-copy { max-width: 780px; }
.hero-copy h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}
.hero-copy .accent { color: var(--c-liberum-red-light); }
.hero-copy .lede {
    max-width: 52ch;
    color: #D1D5DB;
    font-size: 1.2rem;
}
.hero-ctas {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hero .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Page head (about / services / policy etc.) */
.page-head {
    background-color: #111827;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #F3F4F6;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(196, 30, 58, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(31, 41, 55, 0.85) 55%, rgba(43, 26, 34, 0.88) 100%);
    pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-head .lede { color: #D1D5DB; max-width: 60ch; }

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.two-col figure { margin: 0; }
.two-col figure img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Pillar cards */
.pillar {
    background: var(--c-surface);
    padding: 1.75rem 1.75rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.pillar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-liberum-red-light);
}
.pillar h3 {
    color: var(--c-text);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    padding-top: 0.25rem;
    border-top: 3px solid var(--c-liberum-red);
    display: inline-block;
}
.pillar p { color: var(--c-text-2); margin: 0; font-size: 0.95rem; }

/* Lifecycle */
.lifecycle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.lifecycle-step {
    background: var(--c-surface);
    padding: 1.5rem 1.5rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.lifecycle-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.lifecycle-step .num {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    background: var(--c-liberum-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.875rem;
}
.lifecycle-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--c-text); }
.lifecycle-step p { color: var(--c-text-2); font-size: 0.9rem; margin: 0; }

/* Plain lists */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--c-border);
    color: var(--c-text-2);
    font-size: 0.95rem;
}
.plain-list li:last-child { border-bottom: none; }
.two-col-list { columns: 2; column-gap: 3rem; }

/* Policy blocks */
.policy-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-left: 4px solid var(--c-liberum-red);
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--t-fast);
}
.policy-block:hover { box-shadow: var(--shadow-sm); }
.policy-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.policy-head h2 { margin: 0; color: var(--c-text); font-size: 1.375rem; }
.policy-tag {
    background: var(--c-liberum-red);
    color: #fff;
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.policy-desc { color: var(--c-text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.policy-block h4 {
    margin-top: 1rem;
    color: var(--c-liberum-red);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.policy-block p:last-child { margin-bottom: 0; }

/* CTA band */
.section.cta-band {
    background: linear-gradient(135deg, var(--c-liberum-red) 0%, var(--c-liberum-red-dark) 100%);
    color: #fff;
    padding: 3.5rem 0;
}
.section.cta-band h2, .section.cta-band .lede { color: #fff; }
.section.cta-band .lede { opacity: 0.92; }
.section.cta-band .btn-primary {
    background: #fff;
    color: var(--c-liberum-red-dark);
    border-color: #fff;
}
.section.cta-band .btn-primary:hover {
    background: #F3F4F6;
    color: var(--c-liberum-red-dark);
    border-color: #F3F4F6;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero { padding: 3.5rem 0 3rem; }
    .hero-copy h1 { font-size: 2.1rem; }
    .hero-copy .lede { font-size: 1.05rem; }

    .page-head { padding: 2.5rem 0 2rem; }
    .page-head h1 { font-size: 1.875rem; }

    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
    .lifecycle { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .two-col-list { columns: 1; }
}

@media (max-width: 520px) {
    .hero-copy h1 { font-size: 1.75rem; }
    .lifecycle { grid-template-columns: 1fr; }
    .policy-block { padding: 1.375rem 1.25rem; }
    .policy-head h2 { font-size: 1.15rem; }
}
