:root {
    --site-max-width: 1520px;
    --site-gutter: clamp(1.25rem, 3.5vw, 4rem);
    --site-gap: clamp(1.5rem, 3vw, 3.5rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    width: 100%;
    overflow-x: hidden;
    background-color: #f9fafb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111827;
    line-height: 1.5;
}

img,
video {
    max-width: 100%;
    height: auto;
}

main {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

main p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    main h1 {
        font-size: 1.75rem;
    }

    main p {
        font-size: 1rem;
    }
}

/* Optimization: Off-screen sections content-visibility to eliminate initial render & TBT overhead */
.client-mitra-section,
.produk-solusi-section,
.services-section,
.tentang-kami-section,
.visi-misi-section,
.mengapa-kami-section,
.feedback-section,
.contact-section,
.footer-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    main h1,
    main p {
        transition: none !important;
    }
}
