/* Privacy-as-tiles (piggybacks on .features styles) */
.section.privacy {
    padding: clamp(32px, 5vw, 64px) 0;
}

.section.privacy .title {
    margin: 8px 0 10px;
}

.section.privacy .feat-grid {
    /* keep the 12-col grid from features, but constrain width a bit */
    max-width: 1100px;
    margin: 24px auto 0;
}

.section.privacy .feat-text a {
    color: inherit;
    text-decoration: underline;
}

/* === Make Privacy use the same tile system as Features === */

/* Grid like features */
.section.privacy .feat-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1100px;
    /* you already had this; keep it */
    margin: 24px auto 0;
}

/* Default tile = half width on desktop */
.section.privacy .feat-grid .feat-tile {
    position: relative;
    /* needed for ::before/::after edges */
    grid-column: span 6;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* media | text (text-only tiles will just use body) */
    align-items: stretch;
    gap: 20px;
    min-height: 260px;

    padding: 20px;
    border-radius: var(--r-lg);

    /* same glass / neon stack as features */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
        radial-gradient(90% 140% at 0% 0%, color-mix(in oklab, var(--ai-c1), transparent 80%) 0%, transparent 60%),
        var(--card-bg);
    border: 1px solid var(--bd-soft);
    box-shadow: var(--shadow-deck);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ink-dark);

    transition: transform .3s ease, box-shadow .3s ease;
}

/* Even tiles flip columns (visual variety) */
.section.privacy .feat-grid .feat-tile:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
    /* text | media */
}

/* Text-only tile: no media column */
.section.privacy .feat-grid .feat-tile--text {
    display: block;
    /* cancel the grid layout for text-only */
    grid-template-columns: none;
    min-height: auto;
}

/* Edge highlight identical to features */
.section.privacy .feat-grid .feat-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    pointer-events: none;
    padding: 1px;
    background: linear-gradient(135deg, var(--edge-1), var(--edge-2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Subtle purple aura on hover (same as features) */
.section.privacy .feat-grid .feat-tile::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(60% 80% at 20% 0%,
            color-mix(in oklab, var(--ai-c1) 40%, transparent) 0%, transparent 70%),
        radial-gradient(60% 80% at 100% 100%,
            color-mix(in oklab, var(--ai-c2) 35%, transparent) 0%, transparent 75%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity .25s ease, filter .25s ease;
    pointer-events: none;
    z-index: 0;
}

.section.privacy .feat-grid .feat-tile:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 18px rgba(66, 61, 252, 0.45),
        0 0 38px rgba(114, 113, 251, 0.35),
        0 12px 34px rgba(0, 0, 0, 0.45),
        inset 0 2px 0 var(--bd-inset);
}

.section.privacy .feat-grid .feat-tile:hover::before {
    opacity: .5;
    filter: blur(14px);
}

/* Typography inside tiles (mirrors features) */
.section.privacy .feat-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-dark);
}

.section.privacy .feat-text {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.5;
}

.section.privacy .feat-text a {
    color: inherit;
    text-decoration: underline;
}

/* Responsive: single column on mobile */
@media (max-width: 992px) {
    .section.privacy .feat-grid {
        grid-template-columns: 1fr;
    }

    .section.privacy .feat-grid .feat-tile,
    .section.privacy .feat-grid .feat-tile:nth-child(even) {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
        /* stack */
        min-height: unset;
    }
}