/* privacy.css v5 */

/* ===================================================
   Link color reset — override browser defaults
   for ALL links on this page, all states
   =================================================== */
a:link,
a:visited {
    color: var(--accent);
}

a:hover,
a:active {
    color: var(--text);
}

/* ===================================================
   Footer overrides
   =================================================== */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__parent:link,
.footer__parent:visited {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.footer__parent:hover,
.footer__parent:active {
    opacity: 1;
    color: var(--text-muted);
}

/* Nav links override */
.nav__logo:link,
.nav__logo:visited {
    color: var(--text);
    text-decoration: none;
}

.nav__link:link,
.nav__link:visited {
    color: var(--text-muted);
    text-decoration: none;
}

.nav__link:hover,
.nav__link:active {
    color: var(--text);
}

/* ===================================================
   Hero
   =================================================== */
.privacy-hero {
    padding: 72px 0 56px;
    text-align: center;
}

.privacy-hero__inner {
    max-width: 640px;
    margin: 0 auto;
}

.privacy-hero__title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.privacy-hero__subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
}

.privacy-hero__subtitle strong {
    color: var(--text);
    font-weight: 600;
}

/* ===================================================
   Summary grid — icon beside text (CSS Grid)
   =================================================== */
.privacy-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 56px;
}

.summary-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 14px;
    align-items: start;
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.summary-item__icon {
    width: 38px;
    height: 38px;
    background-color: var(--accent-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    /* grid-column: 1 is implicit */
}

.summary-item__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
    /* grid-column: 2 is implicit */
}

.summary-item__text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: block;
}

.summary-item__text span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: block;
}

/* ===================================================
   Content
   =================================================== */
.privacy-content {
    padding-bottom: 96px;
}

.privacy-container {
    max-width: 740px;
    margin: 0 auto;
}

.privacy-body {
    display: flex;
    flex-direction: column;
}

/* ===================================================
   Sections
   =================================================== */
.privacy-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.privacy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 20px;
}

.privacy-section h2 em {
    font-style: normal;
    color: var(--accent);
}

.privacy-section p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
}

.privacy-section p:last-child { margin-bottom: 0; }

.privacy-section p strong {
    color: var(--text);
    font-weight: 600;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-section ul:last-child { margin-bottom: 0; }

.privacy-section ul li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.privacy-section ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Styled links */
.privacy-link:link,
.privacy-link:visited {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.privacy-link:hover,
.privacy-link:active {
    color: var(--text);
    border-bottom-color: var(--text);
}

/* ===================================================
   Permission cards — icon beside text (CSS Grid)
   =================================================== */
.permission-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 16px;
    align-items: start;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin: 8px 0;
}

.permission-card__icon {
    width: 34px;
    height: 34px;
    background-color: var(--accent-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.permission-card__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.permission-card__body strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: block;
}

.permission-card__body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 !important;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 640px) {
    .privacy-summary {
        grid-template-columns: 1fr;
    }

    .privacy-hero {
        padding: 56px 0 40px;
    }
}
