/*
Theme Name: Systems Success Pro
Theme URI: https://systemssuccesspro.com
Author: Jonathan Probert
Description: AI Operating Systems for Small Business Founders — personal brand site
Version: 1.0.0
Text Domain: ssp-website
*/

/* ============================================
   FONT — Proxon loaded from local install
   For WordPress deploy: copy PROXON Regular.ttf into fonts/ subfolder
   Source: C:/Users/jtpro/AppData/Local/Microsoft/Windows/Fonts/PROXON Regular.ttf
============================================ */
@font-face {
    font-family: 'Proxon';
    src: local('PROXON Regular'),
         local('Proxon Regular'),
         url('fonts/PROXON Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
    --navy:       #112970;
    --navy-deep:  #0a1d52;
    --navy-dark:  #080e24;
    --blue:       #2A49A6;
    --orange:     #FF6103;
    --orange-dk:  #e05500;
    --white:      #FFFFFF;
    --off-white:  #F8F9FA;
    --card-bg:    #FFFFFF;
    --card-bdr:   #E5E8EF;
    --mid-gray:   #8892A4;
    --dark-text:  #1A1A2E;

    --font-head: 'Proxon', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --radius:    12px;
    --radius-lg: 20px;

    --shadow:       0 4px 24px rgba(17,41,112,0.07);
    --shadow-card:  0 2px 16px rgba(17,41,112,0.09);
    --shadow-hover: 0 8px 32px rgba(17,41,112,0.15);
    --shadow-orange:0 8px 24px rgba(255,97,3,0.35);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t:    0.3s;

    --max: 1200px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }

/* ============================================
   UTILITY
============================================ */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

.text--orange { color: var(--orange); }

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.eyebrow--pill {
    padding: 5px 14px;
    border: 1px solid rgba(255,97,3,0.4);
    border-radius: 40px;
    background: rgba(255,97,3,0.08);
}

.eyebrow--light { color: rgba(255,255,255,0.5); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-head h2 { color: var(--navy); }

.section-head--light h2,
.section-head--light p { color: var(--white); }

.section-sub {
    font-size: 1.05rem;
    color: var(--mid-gray);
    margin-top: 14px;
    line-height: 1.8;
}

.section-head--light .section-sub { color: rgba(255,255,255,0.6); }

/* Scroll-triggered fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t) var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--orange) !important;
    color: var(--white) !important;
    border-color: var(--orange) !important;
}
.btn--primary:hover {
    background: var(--orange-dk) !important;
    border-color: var(--orange-dk) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--sm  { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg  { padding: 18px 36px; font-size: 1.05rem; }

.btn__arr { transition: transform var(--t) var(--ease); }
.btn:hover .btn__arr { transform: translateX(5px); }

/* ============================================
   NAVIGATION
============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
    background: var(--navy-deep);
    box-shadow: 0 2px 28px rgba(0,0,0,0.35);
}

.nav__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__logo { flex-shrink: 0; margin-right: auto; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--t);
}
.nav__links a:hover { color: var(--white); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: all var(--t);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 24px 32px 32px;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
}

/* Subtle bottom gradient to blend into next section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(10,29,82,0.6));
    pointer-events: none;
}

.hero__grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 80px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero__headline {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    margin-top: 18px;
}

.hero__sub {
    font-size: clamp(0.97rem, 1.6vw, 1.12rem);
    color: rgba(255,255,255,0.7);
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero__trust {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.04em;
}

.hero__photo-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero__photo-wrap img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to left, black 55%, transparent 95%);
    -webkit-mask-image: linear-gradient(to left, black 55%, transparent 95%);
}

/* Orange accent line behind headline */
.hero__content { position: relative; }
.hero__accent {
    position: absolute;
    top: 0; left: -20px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange), transparent);
    border-radius: 2px;
    opacity: 0.6;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.hero__scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}
.hero__scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: 0.3; }
    50%      { opacity: 0.9; }
}

/* ============================================
   THE PROBLEM
============================================ */
.problem {
    background: var(--navy-deep);
    padding: 100px 0;
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: background var(--t), transform var(--t);
}
.problem__card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-5px);
}

.problem__icon { font-size: 2.2rem; margin-bottom: 18px; }

.problem__card h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 12px;
}
.problem__card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
}

/* ============================================
   SOLUTION — AIOS
============================================ */
.solution {
    background: var(--off-white);
    padding: 100px 0;
}

.solution__hint {
    text-align: center;
    font-size: 0.82rem;
    color: var(--mid-gray);
    margin: -32px auto 28px;
    letter-spacing: 0.02em;
}

.solution__stack {
    border: 1px solid var(--card-bdr);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.solution__stack .solution__row,
button.solution__row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 36px !important;
    padding: 32px 44px !important;
    border-bottom: 1px solid var(--card-bdr) !important;
    transition: background var(--t) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    text-align: left !important;
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    outline: none !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.solution__stack .solution__row *,
button.solution__row * {
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.solution__stack .solution__body,
.solution__stack .solution__body p {
    min-width: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.solution__stack .solution__row:last-child { border-bottom: none !important; }
.solution__stack .solution__row:hover,
button.solution__row:hover {
    background: rgba(17,41,112,0.02) !important;
    background-color: rgba(17,41,112,0.02) !important;
}
.solution__stack .solution__row:focus,
.solution__stack .solution__row:active,
.solution__stack .solution__row[aria-expanded="true"],
button.solution__row:focus,
button.solution__row:active,
button.solution__row[aria-expanded="true"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
}
.solution__stack .solution__row[aria-expanded="true"]:hover {
    background: rgba(17,41,112,0.02) !important;
    background-color: rgba(17,41,112,0.02) !important;
}
.solution__stack .solution__row:focus-visible {
    outline: 2px solid var(--blue) !important;
    outline-offset: -2px !important;
}
/* Nuclear: kill any parent-theme borders/outlines/pseudo-element rectangles */
.solution__stack .solution__row,
.solution__stack .solution__row:hover,
.solution__stack .solution__row:focus,
.solution__stack .solution__row:focus-within,
.solution__stack .solution__row:active,
.solution__stack .solution__row[aria-expanded="true"],
button.solution__row,
button.solution__row:hover,
button.solution__row:focus,
button.solution__row:focus-within,
button.solution__row:active,
button.solution__row[aria-expanded="true"] {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
}
.solution__stack .solution__row::before,
.solution__stack .solution__row::after,
button.solution__row::before,
button.solution__row::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}
/* Some WP themes target .wp-element-button or button[type] */
.solution__stack button,
.solution__stack button[type],
.solution__stack button[type="button"],
.solution__stack .wp-element-button {
    border: 0 !important;
    border-bottom: 1px solid var(--card-bdr) !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: #ffffff !important;
    background-image: none !important;
    border-radius: 0 !important;
}
.solution__stack button:last-child,
.solution__stack .wp-element-button:last-child { border-bottom: 0 !important; }

.solution__num {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--orange);
    line-height: 1;
    min-width: 70px;
    padding-top: 6px;
    flex-shrink: 0;
}

.solution__body { flex: 1; min-width: 0; }

.solution__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.solution__body h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin: 0;
}

.solution__toggle {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--orange);
    line-height: 1;
    transition: transform 0.35s var(--ease);
    flex-shrink: 0;
}
.solution__row[aria-expanded="true"] .solution__toggle { transform: rotate(45deg); }

.solution__body p {
    font-size: 0.92rem;
    color: var(--mid-gray);
    line-height: 1.75;
    max-width: 640px;
}

.solution__detail {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 0.35s var(--ease), margin-top 0.35s var(--ease), opacity 0.3s var(--ease);
}
.solution__detail-inner {
    overflow: hidden;
    min-height: 0;
}
.solution__row[aria-expanded="true"] .solution__detail {
    grid-template-rows: 1fr;
    margin-top: 18px;
    opacity: 1;
}
.solution__detail p {
    font-size: 0.9rem;
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 12px;
    max-width: 640px;
}
.solution__detail p:last-child { margin-bottom: 0; }
.solution__detail strong { color: var(--navy); font-weight: 600; }

.solution__cta { text-align: center; margin-top: 48px; }

/* ============================================
   ABOUT
============================================ */
.about {
    background: var(--white);
    padding: 100px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.about__photo-wrap { position: relative; }
.about__photo-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-hover);
}

.about__badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--orange);
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    box-shadow: var(--shadow-orange);
}
.about__badge strong { font-size: 1rem; display: block; }

.about__content h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 16px;
    margin-top: 8px;
}

.about__lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.65;
}

.about__content p {
    font-size: 0.92rem;
    color: var(--mid-gray);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about__stats {
    display: flex;
    gap: 36px;
    padding: 28px 0;
    border-top: 1px solid var(--card-bdr);
    border-bottom: 1px solid var(--card-bdr);
    margin: 32px 0;
}
.about__stat-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--orange);
    letter-spacing: 0.04em;
    display: block;
}
.about__stat-label {
    font-size: 0.73rem;
    color: var(--mid-gray);
    font-weight: 500;
    line-height: 1.45;
    display: block;
    margin-top: 4px;
}

/* ============================================
   CONTENT PILLARS
============================================ */
.pillars {
    background: var(--off-white);
    padding: 100px 0;
}

.pillars__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.pillar__card {
    background: var(--white);
    border: 1px solid var(--card-bdr);
    border-radius: var(--radius);
    padding: 32px 28px;
    flex: 0 0 calc(33.333% - 16px);
    min-width: 240px;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.pillar__card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--blue);
}

.pillar__icon { font-size: 2rem; margin-bottom: 16px; }

.pillar__card h3 {
    font-family: var(--font-head);
    font-size: 1.0rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 10px;
}
.pillar__card p {
    font-size: 0.85rem;
    color: var(--mid-gray);
    line-height: 1.75;
}

.pillars__cta { text-align: center; margin-top: 48px; }

/* ============================================
   HOW IT WORKS
============================================ */
.hiw {
    background: var(--navy);
    padding: 100px 0;
}

.hiw__steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hiw__steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 36px;
    bottom: 36px;
    width: 1px;
    background: rgba(255,255,255,0.08);
}

.hiw__step {
    display: flex;
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.hiw__step:last-child { border-bottom: none; }

.hiw__num {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--orange);
    background: var(--navy);
    border: 1px solid rgba(255,97,3,0.35);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hiw__body h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 10px;
    padding-top: 18px;
}
.hiw__body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 12px;
}

.hiw__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
    background: rgba(255,97,3,0.1);
    border: 1px solid rgba(255,97,3,0.2);
    padding: 4px 12px;
    border-radius: 40px;
    letter-spacing: 0.05em;
}

.hiw__cta { text-align: center; margin-top: 56px; }

/* ============================================
   FAQ
============================================ */
.faq {
    background: var(--white);
    padding: 100px 0;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--card-bdr);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq__item { border-bottom: 1px solid var(--card-bdr); }
.faq__item:last-child { border-bottom: none; }

.faq__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 32px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    transition: background var(--t);
}
.faq__q:hover { background: rgba(17,41,112,0.02) !important; color: var(--navy) !important; }

.faq__icon {
    font-size: 1.3rem;
    color: var(--orange);
    font-weight: 300;
    transition: transform var(--t);
    flex-shrink: 0;
    line-height: 1;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease);
}
.faq__a.open { max-height: 600px; }
.faq__a p {
    padding: 0 32px 22px;
    font-size: 0.88rem;
    color: var(--mid-gray);
    line-height: 1.85;
}

/* ============================================
   FINAL CTA
============================================ */
.final-cta {
    background: var(--navy-deep);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Blue glow behind the section */
.final-cta::before {
    content: '';
    position: absolute;
    top: -150px; left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(42,73,166,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}

.final-cta__inner h2 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    margin: 12px 0 20px;
    line-height: 1.15;
}

.final-cta__inner p {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    line-height: 1.85;
}

.final-cta__trust {
    display: block;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.3);
    margin-top: 16px;
    letter-spacing: 0.04em;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--navy-dark);
    padding: 72px 0 40px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 32px;
}

.footer__brand img { margin-bottom: 16px; }
.footer__brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.75;
    max-width: 280px;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__col h4 {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--t);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

/* ============================================
   HEADINGS (shared)
============================================ */
h2 {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.18;
}

/* ============================================
   RESPONSIVE — TABLET
============================================ */
@media (max-width: 1024px) {
    .problem__grid { grid-template-columns: 1fr 1fr; }
    .problem__grid .problem__card:nth-child(3) { grid-column: span 2; max-width: 480px; margin: 0 auto; }

    .pillar__card { flex: 0 0 calc(50% - 12px); }

    .about__grid { gap: 48px; }

    .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    /* Nav */
    .nav__links,
    .nav__inner > .btn { display: none; }
    .nav__burger { display: flex; }

    /* Hero */
    .hero__grid {
        grid-template-columns: 1fr;
        padding: 60px 20px 80px;
        text-align: center;
    }
    .hero__photo-wrap { display: none; }
    .hero__cta-row { align-items: center; }
    .hero__sub { max-width: 100%; margin: 0 auto 32px; }
    .hero__accent { display: none; }

    /* Problem */
    .problem__grid { grid-template-columns: 1fr; }
    .problem__grid .problem__card:nth-child(3) { grid-column: auto; max-width: 100%; }

    /* Solution */
    .solution__row { flex-direction: column; gap: 8px; padding: 24px 20px; }
    .solution__num { font-size: 2rem; min-width: auto; }

    /* About */
    .about__grid { grid-template-columns: 1fr; }
    .about__badge { right: 12px; bottom: 12px; }
    .about__stats { gap: 20px; }

    /* Pillars */
    .pillar__card { flex: 0 0 100%; }

    /* Steps */
    .hiw__steps::before { display: none; }
    .hiw__step { flex-direction: column; gap: 16px; }
    .hiw__num { width: 56px; height: 56px; }
    .hiw__body h3 { padding-top: 0; }

    /* Sections padding */
    .problem, .solution, .about, .pillars, .hiw, .faq, .final-cta { padding: 72px 0; }

    .section-head { margin-bottom: 40px; }

    /* Footer */
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero__headline { font-size: 2.4rem; }
    .btn--lg { padding: 16px 24px; font-size: 0.95rem; }
    .faq__q { padding: 18px 20px; }
    .faq__a p { padding: 0 20px 20px; }
    .solution__row { padding: 20px 16px; }
    .footer__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   === BLOG ===
   Blog index (page-blog.php) + single post (single.php)
   ============================================================ */

/* --- Blog hero --- */
.blog-hero {
    background: #112970;
    color: #fff;
    padding: 140px 0 64px;
    text-align: center;
}
.blog-hero .eyebrow,
.blog-hero .eyebrow--pill {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}
.blog-hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin: 18px 0 14px;
    color: #fff;
}
.blog-hero__sub {
    font-size: 1.15rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto;
}

/* --- Blog list --- */
.blog-list { padding: 72px 0 96px; background: #fff; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.blog-grid--small {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(17,41,112,0.10);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -20px rgba(17,41,112,0.30);
    border-color: rgba(17,41,112,0.20);
}

.blog-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #112970;
    overflow: hidden;
}
.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card__media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #112970 0%, #2A49A6 100%);
}
.blog-card__media-fallback img {
    width: 40%;
    height: auto;
    max-width: 180px;
    opacity: 0.85;
    object-fit: contain;
}

.blog-card__body { padding: 22px 24px 26px; }

.blog-card__date {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17,41,112,0.55);
    margin-bottom: 10px;
}
/* "Older post" badge — auto-applied to posts older than 6 months */
.blog-badge--old {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(17,41,112,0.08);
    color: rgba(17,41,112,0.7);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    vertical-align: middle;
}

/* Outdated-post notice banner on single posts */
.post__outdated {
    margin: 0 0 32px;
    padding: 14px 20px;
    border-left: 4px solid #FF6103;
    border-radius: 6px;
    background: rgba(255,97,3,0.07);
    color: #3a3a3a;
    font-size: 0.95rem;
    line-height: 1.5;
}
.post__outdated strong { color: #112970; }

.blog-card__title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 10px;
}
.blog-card__title a {
    color: #112970;
    text-decoration: none;
}
.blog-card__title a:hover { color: #FF6103; }

.blog-card__excerpt {
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(17,41,112,0.75);
    margin: 0 0 14px;
}
.blog-card__more {
    display: inline-block;
    font-weight: 600;
    color: #FF6103;
    text-decoration: none;
    font-size: 0.95rem;
}
.blog-card__more:hover { text-decoration: underline; }

/* --- Pagination --- */
.blog-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
}
.blog-pagination a,
.blog-pagination span {
    padding: 10px 16px;
    border: 1px solid rgba(17,41,112,0.15);
    border-radius: 8px;
    color: #112970;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.blog-pagination .current {
    background: #112970;
    color: #fff;
    border-color: #112970;
}
.blog-pagination a:hover {
    background: rgba(17,41,112,0.05);
    border-color: rgba(17,41,112,0.30);
}

.blog-empty {
    text-align: center;
    color: rgba(17,41,112,0.60);
    font-size: 1.05rem;
    padding: 40px 0;
}

/* --- Single post --- */
.post__hero {
    background: #112970;
    color: #fff;
    padding: 130px 0 56px;
}
.post__hero .container { max-width: 780px; text-align: center; }

.post__crumb {
    display: inline-block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 18px;
}
.post__crumb:hover { color: #FF6103; }

.post__date {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}
.post__title {
    font-size: 2.6rem;
    line-height: 1.15;
    color: #fff;
    margin: 0;
}

.post__feature {
    background: #fff;
    padding: 0;
    margin-top: -32px;
}
.post__feature .container { max-width: 980px; }
.post__feature img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 30px 60px -30px rgba(17,41,112,0.35);
}

.post__body { padding: 64px 0 56px; background: #fff; }
.post__body .container { max-width: 720px; }

.post__body p,
.post__body ul,
.post__body ol {
    font-size: 1.1rem;
    line-height: 1.72;
    color: rgba(17,41,112,0.92);
    margin: 0 0 1.2em;
}
.post__body h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    color: #112970;
    margin: 2.2em 0 0.7em;
}
.post__body h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    color: #112970;
    margin: 1.8em 0 0.5em;
}
.post__body h4 {
    font-size: 1.05rem;
    color: #112970;
    margin: 1.5em 0 0.4em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.post__body a {
    color: #FF6103;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post__body a:hover { color: #e05500; }
.post__body strong { color: #112970; }
.post__body blockquote {
    border-left: 4px solid #FF6103;
    padding: 4px 0 4px 20px;
    margin: 1.6em 0;
    color: rgba(17,41,112,0.80);
    font-style: italic;
}
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body li { margin-bottom: 0.5em; }
.post__body code {
    background: rgba(17,41,112,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
}
.post__body pre {
    background: #0e1f4f;
    color: #e8edff;
    padding: 18px 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5em 0;
}
.post__body pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* FAQ section inside a post (rendered as plain H2 + paragraphs by /newsletter develop) */
.post__faq h2 { border-top: 1px solid rgba(17,41,112,0.10); padding-top: 1.4em; }

/* --- Post CTA block --- */
.post__cta {
    background: linear-gradient(135deg, #112970 0%, #2A49A6 100%);
    padding: 72px 0;
    color: #fff;
}
.post__cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.post__cta-inner h2 {
    font-size: 2rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 16px;
}
.post__cta-inner p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
}
.post__cta-trust {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

/* --- More posts strip --- */
.post__more { padding: 72px 0 96px; background: #fafafa; }
.post__more-title {
    text-align: center;
    font-size: 1.6rem;
    color: #112970;
    margin: 0 0 36px;
}

/* --- Blog responsive --- */
@media (max-width: 900px) {
    .blog-hero h1 { font-size: 2.4rem; }
    .post__title { font-size: 2rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 28px; }
    .blog-grid--small { grid-template-columns: 1fr; }
    .post__body .container { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
    .blog-hero { padding: 110px 0 48px; }
    .blog-hero h1 { font-size: 2rem; }
    .post__hero { padding: 110px 0 40px; }
    .post__title { font-size: 1.7rem; }
    .post__body p, .post__body ul, .post__body ol { font-size: 1rem; }
    .post__body h2 { font-size: 1.4rem; }
    .post__cta-inner h2 { font-size: 1.5rem; }
}
