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

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

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

/* Tile = half width on desktop */
.section.terms .feat-grid .feat-tile {
    position: relative;
    /* for ::before/::after */
    grid-column: span 6;
    display: block;
    /* text-only */
    min-height: auto;

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

    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;
}

/* Edge highlight like features */
.section.terms .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;
}

/* Aura on hover */
.section.terms .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.terms .feat-grid .feat-tile:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 18px rgba(66, 61, 252, .45),
        0 0 38px rgba(114, 113, 251, .35),
        0 12px 34px rgba(0, 0, 0, .45),
        inset 0 2px 0 var(--bd-inset);
}

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

/* Tile typography */
.section.terms .feat-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-dark);
}

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

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

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

    .section.terms .feat-grid .feat-tile {
        grid-column: 1 / -1;
        min-height: unset;
    }
}