/* ============================================
   BREAKLINE SECURITY — Approach Page Styles
   Extends redesign.css
============================================ */

/* 1. Page Header — title width override (base 640px → 700px) */
.page-title { max-width: 700px; }

/* 2. Section Intro Split (heading + body, side by side) */
.section-intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-16);
    align-items: start;
    margin-bottom: var(--sp-14);
}

.section-intro-body {
    font-size: 0.975rem;
    color: var(--text-2);
    line-height: 1.8;
}

.section-intro-body p + p { margin-top: 1.1rem; }

/* 3. Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}

.problem-card::before {
    background: radial-gradient(ellipse 55% 55% at 0% 0%, rgba(192, 135, 44, 0.07), transparent);
}

.problem-num {
    font-family: var(--mono);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: var(--sp-2);
    opacity: 0.7;
}

.problem-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: var(--sp-5);
}

.problem-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.55rem;
    letter-spacing: -0.01em;
}

.problem-desc {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.75;
}

/* 4. Self-Hosted Highlights Grid */
.sh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
    margin-top: var(--sp-12);
}

.sh-card::before {
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(192, 135, 44, 0.05), transparent);
}

.sh-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: var(--sp-6);
}

.sh-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.sh-desc {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.75;
}

/* 5. Sector Grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    margin-top: var(--sp-12);
}

.sector-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: var(--sp-5) var(--sp-6);
    transition: border-color 0.2s var(--ease), background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sector-card:hover {
    border-color: var(--accent-border);
    background: rgba(192, 135, 44, 0.03);
}

.sector-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sector-card-header i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.sector-card-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.sector-card-sub {
    font-size: 0.78rem;
    color: var(--text-2);
    line-height: 1.55;
    padding-left: 1.65rem;
}

/* 5b. Sector note — classified-environment caveat */
.sector-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: var(--sp-5);
    padding: var(--sp-4) var(--sp-5);
    border: 1px dashed var(--border);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-2);
    line-height: 1.65;
}

.sector-note i {
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.sector-note strong { color: var(--text); }

/* 5c. Assurance split — accredited provider + processor chain */
.assure-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    margin-top: var(--sp-12);
}

.assure-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.assure-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.assure-body {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.8;
}

.assure-body strong { color: var(--text); }

.chain {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border);
}

.chain-label {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 0.4rem;
}

.chain-row-us .chain-label { color: var(--accent); }

.chain-hops {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.chain-hops li {
    font-size: 0.74rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    white-space: nowrap;
}

.chain-hops li + li {
    position: relative;
    margin-left: 1.1rem;
}

.chain-hops li + li::before {
    content: '\2192';
    position: absolute;
    left: -1.05rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-weight: 400;
}

.chain-hops li.is-ext {
    border-color: rgba(220, 38, 38, 0.35);
    color: var(--text-3);
}

.chain-hops li.is-end {
    border-color: var(--accent-border);
    background: rgba(192, 135, 44, 0.08);
    color: var(--text);
    font-weight: 600;
}

/* 6. Privacy Section */
.privacy-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-14);
    align-items: start;
    margin-top: var(--sp-12);
}

.privacy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: 0.9rem var(--sp-5);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.privacy-item:last-child { border-bottom: none; }
.privacy-item:hover { background: rgba(255,255,255,0.02); }

.privacy-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.privacy-item-text {
    font-size: 0.875rem;
    color: var(--text-2);
    font-weight: 500;
}

.privacy-callout {
    background: var(--bg-3);
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    padding: var(--sp-10);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
}

.privacy-callout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 100% 0%, rgba(192, 135, 44, 0.07), transparent);
    pointer-events: none;
}

.privacy-callout-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.privacy-callout-label::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.privacy-callout-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.privacy-callout-body {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* 7. Philosophy Block */
.philosophy-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: var(--sp-8) 0;
}

.philosophy-quote {
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: var(--sp-7);
}

.philosophy-quote em {
    color: var(--accent);
    font-style: normal;
}

.philosophy-body {
    font-size: 0.975rem;
    color: var(--text-2);
    line-height: 1.85;
    max-width: 580px;
    margin: 0 auto var(--sp-8);
}

/* 8. Comparison matrix — high-level, no competitor names */
.cmp {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-top: var(--sp-12);
}

.cmp-item {
    display: grid;
    grid-template-columns: 168px 1fr 1fr;
    border-bottom: 1px solid var(--border);
}
.cmp-item:last-child { border-bottom: none; }

.cmp-dim,
.cmp-them,
.cmp-us {
    padding: var(--sp-4) var(--sp-5);
    font-size: 0.875rem;
    line-height: 1.55;
}

.cmp-dim {
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    display: flex;
    align-items: center;
}

.cmp-them {
    color: var(--text-3);
    border-left: 1px solid var(--border);
}

.cmp-us {
    color: var(--text);
    font-weight: 500;
    border-left: 1px solid var(--accent-border);
    background: rgba(192, 135, 44, 0.05);
}

.cmp-head { background: var(--bg-3); }
.cmp-head .cmp-dim,
.cmp-head .cmp-them,
.cmp-head .cmp-us {
    font-family: var(--mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-3);
}
.cmp-head .cmp-us { color: var(--accent); font-weight: 600; }

/* group divider band inside the matrix */
.cmp-group {
    padding: var(--sp-3) var(--sp-5);
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

@media (max-width: 720px) {
    .cmp-item { grid-template-columns: 1fr; }
    .cmp-head { display: none; }
    .cmp-dim {
        background: var(--bg-3);
        border-bottom: 1px solid var(--border);
        padding-top: var(--sp-3);
        padding-bottom: var(--sp-3);
    }
    .cmp-them,
    .cmp-us { border-left: none; }
    .cmp-them::before,
    .cmp-us::before {
        display: block;
        font-family: var(--mono);
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 0.35rem;
    }
    .cmp-them::before { content: 'The usual approach'; color: var(--text-3); }
    .cmp-us::before { content: 'Dispatch'; color: var(--accent); }
}

/* 9. Responsive */
@media (max-width: 960px) {
    .section-intro { grid-template-columns: 1fr; gap: var(--sp-6); }
    .sh-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-split { grid-template-columns: 1fr; gap: var(--sp-8); }
    .assure-split { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .assure-card { padding: var(--sp-6) var(--sp-5); }
}

@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr; }
    .sh-grid { grid-template-columns: 1fr; }
    .sector-grid { grid-template-columns: 1fr; }
}

/* Large screens — rem restatement of this file's px layout (see redesign.css). */
@media (min-width: 1708px) {
    .page-title { max-width: 43.75rem; }
    .problem-icon { width: 2.5rem; height: 2.5rem; }
    .sh-icon { width: 2.75rem; height: 2.75rem; }
    .philosophy-inner { max-width: 47.5rem; }
    .philosophy-body { max-width: 36.25rem; }
    .cmp-item { grid-template-columns: 10.5rem 1fr 1fr; }
}
