/* ============================================================
   SECURITY PAGE — premium, calm, architectural
   Built to match about.html + product.html inline systems
   ============================================================ */
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
    color: var(--text-dark);
}

/* --- Page shell --- */
.security-page {
    background: #fff;
    min-height: 100vh;
    position: relative;
}

.security-page::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 28%);
    opacity: 0.45;
    z-index: 0;
}

.sec-shell {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-section {
    padding: 4rem 2.5rem;
}

/* --- Titles (premium slanted style from about) --- */
.section-title,
.sec-hero h1,
.sec-closing h2 {
    font-size: clamp(1.85rem, 3vw, 2.18rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #111;
    margin-bottom: 1rem;
}

.section-title .about-title-primary,
.section-title .accent-text,
.sec-hero h1 .about-title-primary,
.sec-hero h1 .accent-text,
.sec-closing h2 .about-title-primary,
.sec-closing h2 .accent-text {
    display: inline-block;
    white-space: nowrap;
}

.about-title-primary {
    color: #111;
}

.accent-text {
    color: #7a7a7a;
    font-weight: 400;
    font-style: italic;
}

.section-copy {
    font-size: 0.98rem;
    line-height: 1.72;
    color: #4b5563;
    max-width: 62ch;
    margin-bottom: 1.1rem;
}

.section-copy-muted {
    font-size: 0.9rem;
    line-height: 1.68;
    color: #7b8391;
    max-width: 58ch;
}

/* --- Left/Right section intros --- */
.sec-section-head {
    width: auto;
    max-width: 100%;
}

.sec-section-head.right {
    margin-left: auto;
    text-align: right;
}

.sec-section-intro {
    display: block;
    margin-bottom: 1.4rem;
}

.sec-section-copy-col {
    max-width: 62ch;
}

.sec-section-intro .sec-section-copy-col {
    margin-top: 0.85rem;
}

.sec-section-intro.right .sec-section-copy-col {
    margin-left: auto;
    text-align: right;
}

.sec-section-intro.right .section-copy,
.sec-section-intro.right .section-copy-muted {
    margin-left: auto;
    text-align: right;
}

.section-overline {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.sec-section-intro.right .section-overline {
    display: block;
}

/* --- Offwhite premium cards --- */
.offwhite-card {
    background: #fbfbf9;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.offwhite-card:hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    border-color: rgba(37, 99, 235, 0.18);
}

.offwhite-card.with-lines {
    background-image:
        repeating-linear-gradient(180deg,
            rgba(15, 23, 42, 0.04) 0,
            rgba(15, 23, 42, 0.04) 1px,
            transparent 1px,
            transparent 26px);
}

.offwhite-card.with-lines::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(37, 99, 235, 0.15) 0.8px, transparent 0.8px);
    background-size: 18px 18px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.22), transparent 32%);
    opacity: 0.14;
}

/* Corner frames */
.card-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}
.card-frame::before,
.card-frame::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(37, 99, 235, 0.4);
    border-style: solid;
}
.card-frame::before {
    top: 14px;
    left: 14px;
    border-width: 1px 0 0 1px;
}
.card-frame::after {
    right: 14px;
    bottom: 14px;
    border-width: 0 1px 1px 0;
}

/* --- Animated icon tiles --- */
.sec-card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
}

.sec-card-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.12);
    flex-shrink: 0;
}

.sec-card-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: sec-icon-float 6s ease-in-out infinite;
}

@keyframes sec-icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes sec-icon-pulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.12); }
}

@keyframes sec-icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sec-dash-draw {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

.sec-card-title {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.sec-card-body {
    font-size: 0.92rem;
    line-height: 1.62;
    color: #5b6472;
    position: relative;
    z-index: 1;
}

/* --- HERO --- */
.sec-hero {
    padding: 7.5rem 2.5rem 4rem;
    text-align: center;
    position: relative;
}

.sec-hero::after {
    content: '';
    position: absolute;
    right: 7%;
    top: 6.5rem;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 28px;
    transform: rotate(8deg);
    opacity: 0.8;
}

.sec-hero::before {
    content: '';
    position: absolute;
    left: 6%;
    top: 11rem;
    width: 7rem;
    height: 7rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    opacity: 0.6;
}

.sec-hero-copy {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sec-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.sec-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #3b4252;
    background: #fbfbf9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
}

.sec-chip::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}

.sec-hero-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.btn-line.primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.btn-line.primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
}

.btn-line.ghost {
    background: #fff;
    color: #111;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-line.ghost:hover {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--blue);
    transform: translateY(-1px);
}

/* --- Sub-hero orientation strip (public / hosted / privatebox) --- */
.sec-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 2.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.sec-strip-item {
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.78rem;
    color: #475569;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
    position: relative;
}

.sec-strip-item strong {
    display: block;
    color: #111;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.sec-strip-item.is-active {
    border-color: rgba(37, 99, 235, 0.35);
    background: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.sec-strip-item.is-active strong {
    color: var(--blue);
}

/* --- Section 2 — Philosophy principle cards --- */
.phil-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
    align-items: start;
}

.phil-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.phil-pill {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fbfbf9;
    border: 1px solid rgba(15, 23, 42, 0.07);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.phil-pill:hover {
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.phil-pill .sec-card-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
}

.phil-pill .sec-card-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.phil-pill span {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
}

/* --- Section 3 — Why AI security is different (FAQ alternating) --- */
.diff-stream {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.25rem;
}

.diff-card {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 1.8rem;
    align-items: center;
    padding: 1.5rem 1.7rem;
    max-width: 720px;
}

.diff-card.side-left {
    margin-right: auto;
}

.diff-card.side-right {
    margin-left: auto;
    grid-template-columns: 150px 1fr;
}

.diff-card-copy h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.diff-card-copy p {
    font-size: 0.9rem;
    line-height: 1.62;
    color: #4b5563;
    margin: 0;
    position: relative;
    z-index: 1;
}

.diff-card.side-right .diff-card-copy {
    grid-column: 2;
}

.diff-card.side-right .diff-card-visual {
    grid-column: 1;
    grid-row: 1;
}

.diff-card-visual {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.07), rgba(37, 99, 235, 0.01));
    border: 1px solid rgba(37, 99, 235, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.diff-card-visual svg {
    width: 58%;
    height: 58%;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.diff-card-visual svg .flt { animation: sec-icon-float 5s ease-in-out infinite; transform-origin: center; }
.diff-card-visual svg .spn { animation: sec-icon-spin 22s linear infinite; transform-origin: center; }
.diff-card-visual svg .pls { animation: sec-icon-pulse 4s ease-in-out infinite; transform-origin: center; }
.diff-card-visual svg .drw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: sec-dash-draw 6s ease-in-out infinite;
}

/* --- Section 4 — Architecture layers --- */
.arch-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1rem;
}

.arch-layer {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
}

.arch-layer-head {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    padding-right: 1.3rem;
    position: relative;
    z-index: 1;
}

.arch-layer-index {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--blue);
}

.arch-layer-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.arch-layer-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    margin-bottom: 0.15rem;
}

.arch-layer-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: sec-icon-float 6s ease-in-out infinite;
}

.arch-layer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.arch-item {
    font-size: 0.78rem;
    font-weight: 500;
    color: #334155;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.38rem 0.75rem;
    border-radius: 100px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.arch-layer:hover .arch-item {
    border-color: rgba(37, 99, 235, 0.2);
}

/* --- Section 5 — Core control layers (expandable w/ Business/Technical toggle) --- */
.ctrl-toolbar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 1.3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ctrl-toolbar-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
}

.ctrl-toggle {
    display: inline-flex;
    gap: 0.25rem;
    padding: 4px;
    background: #f1f4f8;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 100px;
}

.ctrl-toggle button {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.45rem 0.95rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ctrl-toggle button.is-active {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.ctrl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ctrl-card {
    padding: 1.35rem 1.45rem 1.35rem;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.ctrl-card:hover {
    transform: translateY(-2px);
}

.ctrl-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ctrl-toggle-mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 800;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    user-select: none;
    position: relative;
    z-index: 1;
}

.ctrl-card:hover .ctrl-toggle-mark {
    background: rgba(37, 99, 235, 0.18);
}

.ctrl-card[aria-expanded="true"] .ctrl-toggle-mark {
    transform: rotate(45deg);
    background: var(--blue);
    color: #fff;
}

.ctrl-card .sec-card-top {
    justify-content: space-between;
}

.ctrl-card p[data-role="body"] {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5b6472;
    margin: 0;
    position: relative;
    z-index: 1;
}

.ctrl-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease;
    position: relative;
    z-index: 1;
}

.ctrl-card[aria-expanded="true"] .ctrl-detail {
    max-height: 320px;
    opacity: 1;
    margin-top: 0.8rem;
}

.ctrl-detail-inner {
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
    padding-top: 0.8rem;
}

.ctrl-detail-inner p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* --- Section 6 — Trust boundary two-column compare --- */
.bound-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.bound-panel {
    padding: 1.6rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
}

.bound-panel-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 1;
}

.bound-panel-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
}

.bound-panel.is-us .bound-panel-label {
    color: var(--blue);
}

.bound-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.bound-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.bound-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.bound-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9aa3b2;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.bound-panel.is-us .bound-list li::before {
    background: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

/* --- Section 7 — Comparison table --- */
.compare-wrap {
    margin-top: 1.15rem;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(15, 23, 42, 0.08),
        0 24px 48px rgba(15, 23, 42, 0.04);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 1rem 1.2rem;
    background: #fbfbf9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.14);
}

.compare-table thead th.us-col {
    color: var(--blue);
}

.compare-table tbody td {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    vertical-align: top;
}

.compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-table tbody td.row-head {
    font-weight: 700;
    color: #111;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
}

.compare-table tbody td.us-col {
    background: rgba(37, 99, 235, 0.04);
    color: #111;
    font-weight: 500;
    position: relative;
}

.compare-table tbody tr:first-child td.us-col {
    border-top: 1px solid rgba(37, 99, 235, 0.22);
}

.compare-table tbody tr:last-child td.us-col {
    border-bottom: 1px solid rgba(37, 99, 235, 0.22);
}

/* --- Section 8 — Market security levels --- */
.market-levels {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.market-level {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
    padding: 1.3rem 1.5rem;
    align-items: start;
}

.market-level.is-us {
    border-color: rgba(37, 99, 235, 0.25);
    background-color: #fbfcff;
}

.market-level-head {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    padding-right: 1.2rem;
    position: relative;
    z-index: 1;
}

.market-level.is-us .market-level-head {
    border-right-color: rgba(37, 99, 235, 0.2);
}

.market-level-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

.market-level-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.market-level-body {
    position: relative;
    z-index: 1;
}

.market-level-body p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.62;
    margin: 0 0 0.6rem;
}

.market-level-body p:last-child { margin-bottom: 0; }

.market-level-body strong { color: #111; font-weight: 700; }

/* --- Vendor mention strip --- */
.vendor-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.vendor-card {
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.vendor-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.vendor-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.vendor-tag {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.35;
}

/* --- POPIA callout (within section 8) --- */
.popia-card {
    margin-top: 3rem;
    padding: 2.1rem 2.1rem 2.2rem;
    border-color: rgba(37, 99, 235, 0.22);
    background: #fbfcff;
}

.popia-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.popia-flag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.popia-flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.popia-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
}

.popia-card h3 {
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111;
    margin: 0 0 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.popia-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
    margin: 1.75rem 0 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.popia-card p {
    font-size: 0.94rem;
    line-height: 1.68;
    color: #475569;
    margin: 0 0 0.85rem;
    max-width: 70ch;
    position: relative;
    z-index: 1;
}

.popia-emph {
    font-size: 0.94rem !important;
    font-weight: 600;
    color: #111 !important;
    font-style: italic;
    margin: 0.4rem 0 0.85rem !important;
}

.popia-card strong { color: #111; font-weight: 700; }

.popia-points {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    position: relative;
    z-index: 1;
}

.popia-points li {
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.9rem;
    align-items: start;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.popia-points li:hover {
    border-color: rgba(37, 99, 235, 0.22);
    transform: translateY(-1px);
}

.popia-points li .popia-point-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popia-points li .popia-point-icon svg {
    width: 15px;
    height: 15px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.popia-points li .popia-point-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.popia-points li strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}

.popia-points li p {
    font-size: 0.85rem;
    color: #5b6472;
    margin: 0;
    line-height: 1.58;
    max-width: none;
}

@media (max-width: 640px) {
    .popia-card {
        padding: 1.6rem 1.4rem 1.7rem;
    }
    .popia-points li {
        grid-template-columns: 28px 1fr;
        gap: 0.7rem;
        padding: 0.85rem 0.95rem;
    }
}

/* --- Section 9 — Governance grid --- */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.gov-tile {
    padding: 1.2rem 1.35rem;
}

.gov-tile .sec-card-title {
    font-size: 0.96rem;
}

.gov-tile p {
    font-size: 0.85rem;
    color: #5b6472;
    line-height: 1.56;
    margin-top: 0.15rem;
    position: relative;
    z-index: 1;
}

/* --- Section 10 — Maturity split (Available now / Coming next) --- */
.mat-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.mat-panel {
    padding: 1.5rem 1.7rem 1.7rem;
}

.mat-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.mat-panel.is-next .mat-panel-label {
    color: #6b7280;
}

.mat-panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    animation: sec-icon-pulse 2.5s ease-in-out infinite;
}

.mat-panel.is-next .mat-panel-dot {
    background: #c4c9d4;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
    animation: none;
}

.mat-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.mat-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.mat-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.mat-list li svg {
    width: 14px;
    height: 14px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.mat-panel.is-next .mat-list li svg {
    stroke: #9aa3b2;
}

/* --- Section 11 — Compliance bridge --- */
.comp-bridge {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.7rem;
    margin-top: 1.15rem;
}

.comp-bridge p {
    font-size: 0.92rem;
    line-height: 1.62;
    color: #4b5563;
    margin: 0;
    max-width: 60ch;
    position: relative;
    z-index: 1;
}

.comp-bridge a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.comp-bridge a svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.comp-bridge a:hover svg { transform: translateX(3px); }

/* --- Section 12 — Final CTA --- */
.sec-closing {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.sec-closing .btn-line {
    margin: 0 0.25rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sec-hero::after,
    .sec-hero::before { display: none; }

    .phil-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ctrl-grid,
    .gov-grid,
    .vendor-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arch-layer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .arch-layer-head {
        border-right: 0;
        border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
        padding-right: 0;
        padding-bottom: 0.9rem;
    }

    .market-level {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .market-level-head {
        border-right: 0;
        border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
        padding-right: 0;
        padding-bottom: 0.9rem;
    }

    .bound-split,
    .mat-split {
        grid-template-columns: 1fr;
    }

    .diff-card,
    .diff-card.side-right {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        max-width: 100%;
    }

    .diff-card-copy,
    .diff-card.side-right .diff-card-copy,
    .diff-card.side-right .diff-card-visual {
        grid-column: auto;
        grid-row: auto;
    }

    .diff-card-visual,
    .diff-card.side-right .diff-card-visual {
        order: 2;
        width: min(100%, 170px);
        max-width: 170px;
        align-self: center;
    }

    .diff-card-copy,
    .diff-card.side-right .diff-card-copy { order: 1; }

    .comp-bridge {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sec-hero,
    .page-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sec-hero {
        min-height: auto;
        display: block;
        padding-top: 5.25rem;
        padding-bottom: 2.75rem;
    }

    .sec-hero .sec-shell {
        width: 100%;
    }

    .sec-section-head,
    .sec-section-copy-col {
        width: 100%;
        max-width: 100%;
    }

    .sec-section-head.right { margin-left: auto; text-align: right; }
    .sec-section-intro.right .sec-section-copy-col { margin-left: auto; text-align: right; }

    .ctrl-grid,
    .gov-grid,
    .vendor-strip,
    .phil-principles,
    .sec-strip {
        grid-template-columns: 1fr;
    }

    .ctrl-toolbar { justify-content: flex-start; }

    .compare-wrap { margin-left: -1rem; margin-right: -1rem; border-radius: 0; border-left: 0; border-right: 0; }
}
