/* ===========================================================================
   HR Professionals Club — visual theme (no framework, mobile-friendly)
   =========================================================================== */

:root {
    --brand: #1f5eff;          /* HR Pros blue (from the logo) */
    --brand-dark: #0c1f47;     /* deep navy (from the logo) */
    --brand-light: #e9f0ff;
    --accent: #38bdf8;         /* sky accent */
    --navy: #0c1f47;           /* logo navy, for dark surfaces */
    --text: #0f172a;           /* slate-900 */
    --muted: #64748b;          /* slate-500 */
    --bg: #f1f5f9;             /* slate-100 */
    --card: #ffffff;
    --border: #e2e8f0;
    --error: #dc2626;
    --success: #047857;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 4px 16px rgba(15, 23, 42, .08);
    --shadow-lg: 0 12px 32px rgba(31, 94, 255, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(900px circle at 0% -10%, rgba(31, 94, 255, .07), transparent 45%),
        radial-gradient(700px circle at 100% 0%, rgba(56, 189, 248, .06), transparent 40%);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 18px;
}

a { color: var(--brand); }

/* ---- Header ---------------------------------------------------------------*/
.site-header {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}
.brand {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brand::before {
    content: "";
    width: 26px; height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .94rem;
    font-weight: 500;
    transition: color .15s;
}
.nav a:hover { color: var(--brand); }
/* Solid buttons in the nav (Join Free / Enter Community) keep white text —
   otherwise the ".nav a" grey rule above wins and makes them unreadable. */
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; }
.inline-form { display: inline; margin: 0; }
.link-btn {
    background: none; border: none; cursor: pointer;
    color: var(--muted); font: inherit; font-size: .94rem; font-weight: 500; padding: 0;
    transition: color .15s;
}
.link-btn:hover { color: var(--brand); }

/* ---- Cards & headings -----------------------------------------------------*/
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin: 22px 0;
    box-shadow: var(--shadow-sm);
}
.card.narrow {
    max-width: 440px;
    margin: 54px auto;
    padding: 34px;
    box-shadow: var(--shadow);
}
h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 8px; }
h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; margin: 22px 0 12px; }
.muted { color: var(--muted); }

/* ---- Hero -----------------------------------------------------------------*/
.hero {
    text-align: center;
    padding: 80px 18px 56px;
}
.hero h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text) 30%, var(--brand));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.12rem; max-width: 520px; margin: 14px auto 0; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Dashboard ------------------------------------------------------------*/
.dashboard h1 { margin-top: 26px; }

/* ---- Forms ----------------------------------------------------------------*/
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.form label, .filters label { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; font-weight: 600; }
.form input, .form textarea,
.filters input {
    font: inherit;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 100%;
    background: #fff;
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
}
.form input::placeholder, .form textarea::placeholder,
.filters input::placeholder { color: #94a3b8; }
.form input:focus, .form textarea:focus,
.filters input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.err { color: var(--error); font-weight: 500; font-style: normal; font-size: .8rem; }

/* ---- Buttons --------------------------------------------------------------*/
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .12s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 16px; font-size: .86rem; }
.btn-ghost {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-light); filter: none; }

/* ---- Flash messages -------------------------------------------------------*/
.flash {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin: 18px 0;
    font-size: .92rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.flash-success { background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }
.flash-error   { background: #fef2f2; color: var(--error);   border: 1px solid #fecaca; }

/* ---- Profile summary ------------------------------------------------------*/
.profile-summary { list-style: none; padding: 0; margin: 6px 0 18px; }
.profile-summary li { padding: 5px 0; }

/* ---- Filters --------------------------------------------------------------*/
.filters { display: flex; flex-direction: column; gap: 16px; }
.filters .filter-actions { display: flex; gap: 12px; }

/* ---- Member directory grid ------------------------------------------------*/
.member-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.member-card {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: transform .15s, border-color .15s, box-shadow .15s;
}
.member-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow);
}
.member-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.member-info strong { font-size: 1rem; font-weight: 700; }
.member-meta { font-size: .84rem; color: var(--muted); }

/* ---- Avatar ---------------------------------------------------------------*/
.member-avatar {
    flex: 0 0 auto;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}
.member-avatar.lg { width: 80px; height: 80px; font-size: 2rem; }

/* ---- Skill tags -----------------------------------------------------------*/
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.tag {
    background: var(--brand-light);
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .76rem;
    font-weight: 600;
}

/* ---- Single profile view --------------------------------------------------*/
.profile-head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.profile-head h1 { margin-bottom: 4px; }
.detail-list { display: grid; gap: 14px; margin: 0 0 20px; }
.detail-list dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.detail-list dd { margin: 3px 0 0; font-weight: 600; }

/* ---- Footer ---------------------------------------------------------------*/
.site-footer {
    margin-top: 50px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .88rem;
    text-align: center;
}

/* ---- Discussions ----------------------------------------------------------*/
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 6px; }
.page-head h1 { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Filter chips */
.chips { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Thread list */
.thread-list { display: flex; flex-direction: column; gap: 12px; }
.thread-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s;
}
.thread-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.thread-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.thread-title { font-size: 1.02rem; font-weight: 700; }
.thread-meta { font-size: .83rem; }
.thread-list.compact .thread-row { padding: 12px 14px; box-shadow: none; }
.thread-list.compact .thread-title { font-size: .95rem; }

.thread-stats { flex: 0 0 auto; }
.stat { display: flex; flex-direction: column; align-items: center; color: var(--muted); min-width: 54px; }
.stat strong { font-size: 1.1rem; color: var(--text); }
.stat small { font-size: .72rem; }

/* Type badges */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    width: fit-content;
}
.badge-q { background: #fef3c7; color: #92400e; }
.badge-d { background: var(--brand-light); color: var(--brand-dark); }

/* Thread detail + replies */
.thread-detail h1 { margin: 10px 0; }
.byline { display: flex; align-items: center; gap: 10px; margin: 6px 0 16px; font-size: .9rem; }
.byline a { text-decoration: none; color: var(--text); }
.byline a:hover { color: var(--brand); }
.member-avatar.sm { width: 34px; height: 34px; font-size: .9rem; }
.thread-body { white-space: pre-wrap; word-wrap: break-word; line-height: 1.7; }
.reply-list { display: flex; flex-direction: column; gap: 12px; }
.reply { padding: 18px; margin: 0; }
.reply.nested { box-shadow: none; }

/* Nested comments */
.comment-children {
    margin: 12px 0 0 14px;
    padding-left: 14px;
    border-left: 2px solid var(--border);
    display: flex; flex-direction: column; gap: 12px;
}
.inline-reply { margin: 10px 0 0; gap: 8px; }
.inline-reply textarea { font-size: .92rem; }

/* Radio row + form actions */
.radio-row { display: flex; gap: 18px; font-weight: 500; }
.radio { flex-direction: row !important; align-items: center; gap: 6px; font-weight: 500; }
.radio input { width: auto !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.form-actions { display: flex; gap: 12px; }
.empty { text-align: center; }

/* ===========================================================================
   POLLS · ATTACHMENTS · BADGES · FORM SELECT
   =========================================================================== */
/* Country dropdown / selects match text inputs */
.form select {
    font: inherit;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 100%;
    background: #fff;
    color: var(--text);
}
.form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.14); }
.form input[type="file"] { padding: 9px; background: #fff; }
.poll-opt { margin-bottom: 8px; }

.badge-p { background: #ede9fe; color: #6d28d9; }

/* Poll voting + results */
.poll { margin: 18px 0; padding: 18px; background: var(--bg); border-radius: var(--radius); }
.poll-choice { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 500; }
.poll-choice input { width: auto; }
.poll-result { margin-bottom: 12px; }
.poll-result-top { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: 5px; }
.poll-bar { background: #e2e8f0; border-radius: 999px; height: 12px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.poll-result.mine .poll-bar span { background: linear-gradient(90deg, var(--brand), var(--accent)); }
.poll-result.mine .poll-result-top { color: var(--brand-dark); }

/* Attachments */
.attachments { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.att-img { max-width: 220px; max-height: 200px; border-radius: 10px; border: 1px solid var(--border); display: block; }
.att-file {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; background: var(--card); border: 1px solid var(--border);
    border-radius: 10px; text-decoration: none; color: var(--brand-dark); font-weight: 600; font-size: .9rem;
}
.att-file:hover { border-color: var(--brand); }

/* Badges & points */
.member-points { font-size: .9rem; color: var(--muted); margin: 4px 0 8px; }
.member-points .pts { font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.points-pill { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: 999px; }
.badge-shelf { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.award {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--border);
    font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.award-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--brand)); }

/* ===========================================================================
   REACTIONS · HELPFUL · FLAG · SHARE
   =========================================================================== */
.action-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.action-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Reactions */
.reactions { display: flex; gap: 6px; flex-wrap: wrap; }
.react-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: #fff; border: 1px solid var(--border); border-radius: 999px;
    padding: 5px 11px; cursor: pointer; font: inherit; font-size: .9rem;
    transition: border-color .12s, background .12s;
}
.react-btn:hover { border-color: var(--brand); background: var(--brand-light); }
.react-btn.active { border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.react-btn .re { font-size: 1rem; line-height: 1; }
.react-btn .rc { font-size: .82rem; color: var(--muted); min-width: 6px; }
.react-btn.active .rc { color: var(--brand-dark); }

/* Helpful votes */
.helpful {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 14px; padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm);
}
.helpful-q { font-size: .88rem; font-weight: 600; color: var(--muted); }
.help-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: #fff; border: 1px solid var(--border); border-radius: 999px;
    padding: 5px 12px; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 500;
}
.help-btn:hover { border-color: var(--brand); }
.help-up.active { background: #ecfdf5; border-color: #6ee7b7; color: #047857; font-weight: 700; }
.help-down.active { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; font-weight: 700; }

/* Flag + generic action links */
.act-link, .flag-btn {
    background: none; border: none; cursor: pointer; font: inherit;
    font-size: .84rem; color: var(--muted); padding: 4px 6px; border-radius: 6px; text-decoration: none;
}
.act-link:hover, .flag-btn:hover { color: var(--brand); background: var(--brand-light); }
.flag-btn.flagged { color: #b91c1c; cursor: default; }

/* Share */
.share { display: inline-flex; align-items: center; gap: 4px; }
.share-net {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: var(--brand-light);
    color: var(--brand-dark); font-size: .72rem; font-weight: 700;
}
.share-net:hover { background: var(--brand); color: #fff; }

/* ===========================================================================
   MARKETING SITE
   =========================================================================== */
.site-nav { gap: 20px; }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.lg { font-size: 1.08rem; }
.center { text-align: center; }
.narrow-text { max-width: 680px; margin: 0 auto; }
.center.narrow-text, .narrow-text.center { margin: 0 auto; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 1.8rem; }
.section .center + .bars, .section h2.center { margin-bottom: 8px; }

/* Hero */
.hero-lg {
    padding: 88px 0 72px;
    text-align: center;
    background:
        radial-gradient(700px circle at 50% 0%, rgba(79, 70, 229, .12), transparent 60%);
}
.hero-lg h1 { font-size: 3rem; line-height: 1.08; letter-spacing: -.03em; }
.hero-lg .lead { margin: 18px auto 0; }
.hero-lg .hero-actions { margin-top: 32px; }

.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero h1 { font-size: 2.4rem; line-height: 1.12; }
.page-hero .lead { margin: 16px auto 0; }

/* Stat band */
.stat-band { background: var(--brand); color: #fff; padding: 40px 0; }
.stat-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-big strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.stat-big span { opacity: .85; font-size: .95rem; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature-ic { font-size: 1.8rem; margin-bottom: 8px; }
.feature h3 { font-size: 1.1rem; margin: 0 0 6px; }
.feature p { margin: 0; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split h3 { margin-top: 22px; }
.tick-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { padding-left: 30px; position: relative; font-weight: 500; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* CTA band */
.cta-band { padding: 66px 0; text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.cta-band h2 { font-size: 1.9rem; }
.cta-band .lead { color: rgba(255,255,255,.9); margin: 12px auto 26px; }
.cta-band .btn { background: #fff; color: var(--brand-dark); }
.cta-band .btn:hover { background: #f1f5ff; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; position: relative; }
.tl-item { text-align: center; padding: 22px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tl-item strong { display: block; font-size: 1.5rem; color: var(--brand); margin: 6px 0 2px; }
.tl-year { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tl-now { background: var(--brand); }
.tl-now strong, .tl-now .tl-year, .tl-now .muted { color: #fff !important; }

/* Snapshot grid */
.snap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.snap { text-align: center; padding: 28px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.snap strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); }
.snap span { color: var(--muted); font-size: .92rem; }

/* Bars */
.bars { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.bar-row { display: grid; grid-template-columns: 220px 1fr 70px; align-items: center; gap: 14px; }
.bar-label { font-size: .9rem; font-weight: 600; }
.bar-track { background: var(--brand-light); border-radius: 999px; height: 16px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; }
.bar-val { font-size: .88rem; font-weight: 700; text-align: right; color: var(--muted); }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-sm); }

/* Opportunities */
.opp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 30px; }
.opp { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.opp h3 { color: var(--brand); font-size: 1.08rem; margin: 0 0 12px; }
.opp ul { margin: 0; padding-left: 18px; color: var(--muted); }
.opp li { padding: 3px 0; }

/* Success stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.story-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.story-card h3 { margin: 12px 0 8px; }

/* Steps */
.steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.step { background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; }
.step-arrow { color: var(--brand); font-weight: 800; font-size: 1.2rem; }

/* Contact */
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s; }
.contact-card:hover { border-color: var(--brand); }
.cc-ic { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; background: var(--brand-light); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }

/* Marketing footer */
.mkt-footer { background: #0f172a; color: #cbd5e1; margin-top: 0; padding: 48px 0 24px; }
.mkt-footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mkt-footer-brand strong { color: #fff; font-size: 1.1rem; }
.mkt-footer-brand p { max-width: 340px; font-size: .9rem; margin: 8px 0 0; }
.mkt-footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.mkt-footer-links a { color: #cbd5e1; text-decoration: none; font-size: .92rem; }
.mkt-footer-links a:hover { color: #fff; }
.mkt-footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; font-size: .85rem; }
.mkt-footer-base a { color: #cbd5e1; }

/* ===========================================================================
   LOGO · PHOTO HERO · MEDIA · FOUNDER  (HR Pros Network)
   =========================================================================== */

/* Brand logo image in the header */
.brand-logo { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo img { height: 46px; width: auto; display: block; }

/* Photo hero with navy gradient overlay for legible text */
.hero-photo {
    position: relative;
    padding: 104px 0 88px;
    color: #fff;
    background-image:
        linear-gradient(135deg, rgba(12, 31, 71, .92) 0%, rgba(12, 31, 71, .72) 55%, rgba(31, 94, 255, .58) 100%),
        var(--hero-img);
    background-size: cover;
    background-position: center;
}
.hero-photo-inner { max-width: 760px; }
.hero-photo h1 {
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    color: #fff;
}
.hero-photo .lead { color: rgba(255, 255, 255, .92); max-width: 620px; }
.eyebrow.light { color: #9dc2ff; }

/* Ghost button that sits on a dark/photo background */
.btn-ghost.on-dark {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
}
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }

/* Rounded image container used in split sections */
.media-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.media-frame img { display: block; width: 100%; height: auto; }

/* Colored feature icons echoing the logo's pinwheel */
.feature-ic {
    width: 50px; height: 50px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: var(--brand-light); /* fallback */
    background: color-mix(in srgb, var(--fc, var(--brand)) 14%, #fff);
    border: 1px solid color-mix(in srgb, var(--fc, var(--brand)) 26%, #fff);
    margin-bottom: 14px;
}

/* Founder section */
.founder-role { font-size: .9rem; font-weight: 600; color: var(--brand); line-height: 1.5; margin: 0 0 14px; }
.founder-split { align-items: start; }
.founder-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 340px;
}
.founder-photo img { display: block; width: 100%; height: auto; }

/* Header nav is a touch tighter with the logo present */
.site-nav { gap: 18px; }

/* ---- Mobile ---------------------------------------------------------------*/
@media (max-width: 760px) {
    /* Keep the header clean on phones: logo + primary actions only */
    .nav-mktlink { display: none; }
    .brand-logo img { height: 38px; }
    .hero-photo { padding: 72px 0 56px; }
    .hero-photo h1 { font-size: 2.1rem; }
    .founder-photo { max-width: 260px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .hero-lg h1 { font-size: 2.1rem; }
    .page-hero h1 { font-size: 1.8rem; }
    .stat-band-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .split { grid-template-columns: 1fr; gap: 24px; }
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .snap-grid { grid-template-columns: repeat(2, 1fr); }
    .bar-row { grid-template-columns: 110px 1fr 56px; gap: 8px; }
    .bar-label { font-size: .8rem; }
    .section { padding: 44px 0; }
    .section h2 { font-size: 1.5rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero { padding: 56px 18px 40px; }
    .hero h1 { font-size: 1.9rem; }
    .member-grid { grid-template-columns: 1fr; }
    .nav { gap: 16px; }
    .card { padding: 22px; }
}
