/**
 * 404, Privacy Policy, and Terms & Conditions pages. Confirmed from the
 * Figma "02 - Public Website" file: 404 (34:1421), Privacy Policy
 * (34:1510), Terms & Conditions (34:1614). Shared one stylesheet since
 * all three are thin, low-interaction "utility" pages with overlapping
 * patterns (hero bar, legal document layout) - same reasoning as sharing
 * static-pages.css across About/Services/Contact/Consultation.
 */

/* ---------------------------------------------------------------------
 * 404 (node 34:1442)
 * --------------------------------------------------------------------- */

.error-404-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 120px 80px 160px;
    text-align: center;
}

.error-404-watermark {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 140px;
    line-height: 1;
    color: var(--color-light-gold);
    margin: 0;
}

.error-404-message {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.error-404-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    color: var(--color-primary-green);
    margin: 0;
}

.error-404-desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #717171;
    margin: 0;
}

.error-404-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 480px;
    max-width: 100%;
    height: 52px;
    padding: 0 16px;
    background: var(--color-white);
    border: 1px solid var(--color-stone);
    border-radius: 6px;
}

.error-404-search__icon {
    flex: none;
    width: 16px;
    height: 16px;
    border: 2px solid #717171;
    border-radius: 50%;
    position: relative;
}

.error-404-search__icon::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 2px;
    background: #717171;
    transform: rotate(45deg);
    bottom: -3px;
    right: -4px;
}

.error-404-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-charcoal);
    outline: none;
}

.error-404-actions {
    display: flex;
    gap: 16px;
}

.error-404-popular {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.error-404-popular__label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--color-champagne-gold);
    margin: 0;
}

.error-404-popular__links {
    display: flex;
    gap: 24px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
}

.error-404-popular__links a {
    color: var(--color-primary-green);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------
 * Legal pages: Privacy Policy + Terms & Conditions (nodes 34:1531/34:1635
 * hero bar, 34:1534/34:1638 content layout)
 * --------------------------------------------------------------------- */

.legal-hero-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 80px 80px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-stone);
    text-align: center;
}

.legal-hero-bar__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 42px;
    color: var(--color-primary-green);
    margin: 0;
}

.legal-hero-bar__updated {
    font-family: var(--font-body);
    font-size: 14px;
    color: #717171;
    margin: 0;
}

.legal-content-layout {
    display: flex;
    gap: 96px;
    padding: 80px 80px 120px;
}

.legal-toc {
    flex: none;
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 24px;
    align-self: flex-start;
}

.legal-toc__label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-champagne-gold);
    margin: 0;
}

.legal-toc__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-toc__list a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: #717171;
    text-decoration: none;
}

.legal-toc__list a:hover {
    color: var(--color-primary-green);
}

.legal-doc {
    flex: 1;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-doc__section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    color: var(--color-primary-green);
    margin: 0 0 16px;
}

.legal-doc__section-body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin: 0;
}

.legal-doc__contact-line {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-primary-green);
    margin: 0;
}

/* Prominent placeholder-legal-content notice - not part of the confirmed
   Figma frame, added deliberately per explicit instruction: this body
   copy is placeholder text (reused from Figma's own generic mockup
   copy), not real legal content, and must be reviewed by a qualified
   legal professional before this page goes live. */
.legal-placeholder-notice {
    padding: 20px 24px;
    border-radius: 8px;
    background: #fff8e6;
    border: 1px solid var(--color-champagne-gold);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-charcoal);
}

@media (max-width: 1024px) {
    .error-404-container,
    .legal-hero-bar,
    .legal-content-layout {
        padding-left: 24px;
        padding-right: 24px;
    }

    .legal-content-layout {
        flex-direction: column;
        gap: 40px;
    }

    .legal-toc {
        width: 100%;
        position: static;
    }
}

@media (max-width: 640px) {
    .error-404-watermark {
        font-size: 80px;
    }

    .error-404-title {
        font-size: 28px;
    }

    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }

    .legal-hero-bar__title {
        font-size: 30px;
    }
}
