/* ═══════════════════════════════════════════════════════════════
   Resources pages - shared chrome
   Case studies · FAQ · Help · Security
═══════════════════════════════════════════════════════════════ */

/* ── Case studies ── */

.resources-featured {
    background: linear-gradient(135deg, rgba(39,48,68,0.03) 0%, rgba(212,175,55,0.07) 100%);
    border: 0.0625rem solid var(--border-1, #e6e2da);
    border-radius: 0.625rem;
    padding: 3rem;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.resources-featured-role {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dk, #8c6f2f);
    margin-bottom: 1rem;
}

.resources-featured h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-1, #1a1f2e);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.resources-featured p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-2, #4a5365);
    margin-bottom: 1rem;
}

.resources-featured-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-radius: 0.5rem;
    padding: 1.75rem;
}

.resources-featured-metric-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dk);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.resources-featured-metric-label {
    font-size: 0.8125rem;
    color: var(--text-3, #6a7280);
    line-height: 1.4;
}

.resources-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.resources-case {
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.resources-case-role {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dk);
    margin-bottom: 0.75rem;
}

.resources-case-persona {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 1.125rem;
    line-height: 1.25;
}

.resources-case-block {
    margin-bottom: 1.125rem;
}

.resources-case-block-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 0.375rem;
}

.resources-case-block p {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-2);
    margin: 0;
}

.resources-case-results {
    margin-top: auto;
    border-top: 0.0625rem solid var(--border-1);
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.resources-case-result-num {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gold-dk);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.resources-case-result-label {
    font-size: 0.7rem;
    color: var(--text-3);
    line-height: 1.35;
}

/* Deeper case components - narrative, timeline, pull-quote, reporter byline */
.resources-case-narrative {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-2);
    margin-bottom: 1.25rem;
}
.resources-case-narrative strong {
    color: var(--text-1);
    font-weight: 600;
}
.resources-case-quote {
    background: linear-gradient(135deg, rgba(39,48,68,0.04), rgba(212,175,55,0.08));
    border-left: 0.1875rem solid var(--gold, #d4af37);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-1);
    font-style: italic;
}
.resources-case-quote-attr {
    display: block;
    margin-top: 0.625rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    font-style: normal;
}
.resources-case-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: #fbf9f3;
    border: 0.0625rem solid var(--border-1, #e4e0d6);
    border-radius: 0.375rem;
}
.resources-case-timeline-cell {
    display: flex;
    flex-direction: column;
}
.resources-case-timeline-week {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dk);
    margin-bottom: 0.375rem;
    font-weight: 700;
}
.resources-case-timeline-cell p {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-2);
    margin: 0;
}
.resources-case-reporter {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-top: 0.875rem;
    margin-top: auto;
    border-top: 0.0625rem solid var(--border-1, #e4e0d6);
    font-size: 0.75rem;
    color: var(--text-3);
}
.resources-case-reporter-photo {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate, #1c2331), #3a4660);
    flex-shrink: 0;
}
.resources-case-reporter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.resources-case-reporter strong {
    color: var(--text-1);
    font-weight: 600;
    font-size: 0.8125rem;
}

@media (max-width: 64em) {
    .resources-case-timeline { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ── FAQ ── */

.resources-faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 auto 3rem;
    max-width: 60rem;
}

.resources-faq-nav a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 0.0625rem solid var(--border-1);
    border-radius: 2rem;
    color: var(--text-2);
    text-decoration: none;
    background: #fff;
    transition: all 0.18s;
}

.resources-faq-nav a:hover {
    border-color: var(--gold);
    color: var(--gold-dk);
}

.resources-faq-group {
    margin-bottom: 3.5rem;
    scroll-margin-top: 6rem;
}

.resources-faq-group-head {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.125rem solid var(--gold);
}

.resources-faq-item {
    border-bottom: 0.0625rem solid var(--border-1);
    padding: 1.625rem 0;
}

.resources-faq-item:last-child {
    border-bottom: 0;
}

.resources-faq-q {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.resources-faq-a {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
}

.resources-faq-a p + p {
    margin-top: 0.75rem;
}

.resources-faq-a strong {
    color: var(--text-1);
    font-weight: 600;
}

.resources-faq-a a {
    color: var(--gold-dk);
    text-decoration: underline;
    text-underline-offset: 0.125rem;
}

/* ── Help center ── */

.resources-help-search {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    position: relative;
}

.resources-help-search input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 1.25rem 1rem 3rem;
    border: 0.0625rem solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.resources-help-search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.resources-help-search input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 0.1875rem rgba(212,175,55,0.16);
}

.resources-help-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    color: rgba(255,255,255,0.55);
    pointer-events: none;
}

.resources-help-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.resources-help-quick-card {
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-left: 0.1875rem solid var(--gold);
    border-radius: 0.5rem;
    padding: 1.75rem;
    transition: all 0.2s;
}

.resources-help-quick-card:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.125rem rgba(20,24,35,0.05);
}

.resources-help-quick-num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dk);
    margin-bottom: 0.625rem;
}

.resources-help-quick-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.resources-help-quick-card p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.resources-help-quick-card a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dk);
    text-decoration: none;
    /* Enlarge the hit-target without affecting the visual rhythm of
       the card. inline-block + padding gives the tap a proper 44px
       height on touch devices without bumping the text size. */
    display: inline-block;
    padding: 0.625rem 0;
    min-height: 2.75rem;
    line-height: 1.4;
    box-sizing: border-box;
}

.resources-help-quick-card a:hover {
    text-decoration: underline;
}

.resources-help-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.resources-help-topic {
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-radius: 0.5rem;
    padding: 1.75rem;
}

.resources-help-topic-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.125rem;
}

.resources-help-topic-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft, rgba(212,175,55,0.15));
    border-radius: 0.375rem;
    color: var(--gold-dk);
    flex-shrink: 0;
}

.resources-help-topic-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.resources-help-topic h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-1);
    margin: 0;
    line-height: 1.3;
}

.resources-help-topic ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
}

.resources-help-topic li a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-top: 0.0625rem solid var(--border-1);
    transition: color 0.15s;
}

.resources-help-topic li:first-child a {
    border-top: 0;
}

.resources-help-topic li a:hover {
    color: var(--gold-dk);
}

.resources-help-topic li a::after {
    content: "\2192";
    color: var(--text-3);
    font-size: 0.85rem;
    transition: transform 0.15s;
}

.resources-help-topic li a:hover::after {
    color: var(--gold-dk);
    transform: translateX(0.125rem);
}

/* ── Security ── */

.resources-sec-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.resources-sec-pillar {
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.resources-sec-pillar-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slate, #273044), #3a4660);
    color: var(--gold, #d4af37);
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.resources-sec-pillar-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.resources-sec-pillar h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.resources-sec-pillar p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

.resources-sec-disclosure {
    background: var(--slate, #273044);
    color: rgba(255,255,255,0.88);
    border-radius: 0.625rem;
    padding: 3.25rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.resources-sec-disclosure-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.resources-sec-disclosure h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.125rem;
    line-height: 1.22;
}

.resources-sec-disclosure h2 em {
    font-style: normal;
    color: var(--gold);
}

.resources-sec-disclosure p {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    margin-bottom: 0;
}

.resources-sec-disclosure p + p {
    margin-top: 1rem;
}

.resources-sec-disclosure ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.875rem;
}

.resources-sec-disclosure li {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.resources-sec-disclosure li::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 0.55rem;
    flex-shrink: 0;
}

.resources-sec-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.resources-sec-contact {
    background: #fff;
    border: 0.0625rem solid var(--border-1);
    border-radius: 0.5rem;
    padding: 1.875rem;
}

.resources-sec-contact-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dk);
    margin-bottom: 0.75rem;
}

.resources-sec-contact h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.resources-sec-contact p {
    font-size: 0.925rem;
    color: var(--text-2);
    margin-bottom: 1.125rem;
    line-height: 1.6;
}

.resources-sec-contact a {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--gold-dk);
    text-decoration: none;
    border-bottom: 0.0625rem solid var(--gold);
    padding-bottom: 0.0625rem;
}

.resources-sec-contact a:hover {
    color: var(--text-1);
}

/* ── Responsive ── */

@media (max-width: 64em) {
    .resources-featured { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
    .resources-cases,
    .resources-help-topics,
    .resources-sec-contacts { grid-template-columns: 1fr; }
    .resources-sec-disclosure { grid-template-columns: 1fr; gap: 2rem; padding: 2.25rem; }
    .resources-sec-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .resources-help-quick { grid-template-columns: 1fr; }
}

@media (max-width: 42em) {
    .resources-featured { padding: 2rem; }
    .resources-featured-metrics { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
    .resources-sec-pillars { grid-template-columns: 1fr; }
    .resources-case { padding: 1.5rem; }
    .resources-case-results { grid-template-columns: 1fr 1fr; }
}
