@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --why-bg: #f7f6f2;
    --why-surface: #ffffff;
    --why-text: #20201e;
    --why-muted: #77756f;
    --why-line: #dedcd5;
    --why-accent: #8a6b3f;

    --why-serif: Georgia, "Times New Roman", serif;
    --why-sans: 'Manrope', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--why-bg);
    color: var(--why-text);
    font-family: var(--why-sans);
    font-size: 17px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Remove the old dark/theme behavior */
html[data-theme="light"],
html[data-theme="dark"] {
    background: var(--why-bg);
}

button {
    font: inherit;
}


/* Paragraf pertama di setiap seksi card dibuat lebih menonjol */
.card > p:first-of-type {
    font-size: 1.1em;
    color: var(--why-text);
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Header & Badge Eyebrow
   --------------------------------------------------------- */

.site-header {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 110px 0 95px;
    border-bottom: 1px solid var(--why-line);
    position: relative;
}

.site-header .eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 4px 10px; /* Diperkecil dari 6px 14px */
    background: #111110;
    color: #ffffff;
    font-size: 9px; /* Turunkan sedikit agar tidak dominan */
    font-weight: 700;
    letter-spacing: .22em; /* Tambahkan kerning agar teks tegas */
    text-transform: uppercase;
    border-radius: 2px;
}


.site-header h1 {
    margin: 0;
    max-width: 900px;
    font-family: var(--why-serif);
    font-size: clamp(34px, 11vw, 68px); /* Batas atas khusus mobile disesuaikan */
    font-weight: 400;
    line-height: 0.92; /* Rapatkan sedikit lagi */
    letter-spacing: -.03em;
}






/* Hide theme control on this page */
.theme-toggle {
    display: none !important;
}

/* ---------------------------------------------------------
   Main document
   --------------------------------------------------------- */

.document {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.card {
    padding: 115px 0 125px;
    border-bottom: 1px solid var(--why-line);
}

/* Numbering is intentionally subtle.
   No HTML changes required. */
.card::before {
    display: block;
    margin-bottom: 42px;
    color: var(--why-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
}

.card:nth-child(1)::before {
    content: "01";
}

.card:nth-child(2)::before {
    content: "02";
}

.card:nth-child(3)::before {
    content: "03";
}

/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

.card h2 {
    max-width: 850px;
    margin: 0 0 65px;
    font-family: var(--why-serif);
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.card h3 {
    max-width: 760px;
    margin: 90px 0 25px;
    padding-top: 25px;
    border-top: 1px solid var(--why-line);
    font-family: var(--why-serif);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.025em;
}

/* ---------------------------------------------------------
   Body copy
   --------------------------------------------------------- */

.card p {
    max-width: 760px;
    margin: 0 0 25px;
    color: #45443f;
}

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

.card strong {
    color: var(--why-text);
    font-weight: 650;
}

/* Give important standalone calculations more presence
   without requiring HTML changes. */
.card p:has(strong) {
    text-wrap: pretty;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.footer {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 45px 0 60px;
}

.footer p {
    margin: 0;
    color: var(--why-muted);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   Selection
   --------------------------------------------------------- */

::selection {
    background: #ded8ca;
    color: var(--why-text);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 700px) {
    body {
        font-size: 16px;
        line-height: 1.75;
    }

    .site-header,
    .document,
    .footer {
        width: min(100% - 36px, 1180px);
    }

    .site-header {
        padding: 70px 0 65px;
    }

    .site-header .eyebrow {
        margin-bottom: 22px;
        font-size: 10px;
    }

    .site-header h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .card {
        padding: 75px 0 80px;
    }

    .card::before {
        margin-bottom: 30px;
    }

    .card h2 {
        margin-bottom: 45px;
        font-size: clamp(38px, 12vw, 58px);
    }

    .card h3 {
        margin-top: 65px;
        padding-top: 20px;
        font-size: 29px;
    }

    .card p {
        margin-bottom: 22px;
    }

    .footer {
        padding: 35px 0 45px;
    }
}

@media (max-width: 700px) {
    .site-header {
        padding: 50px 0 40px; /* Pangkas padding atas-bawah */
    }

    .card {
        padding: 50px 0 60px; /* Pangkas spasi vertical seksi */
    }

    .card::before {
        margin-bottom: 20px; /* Angka 01 tidak terlalu jauh dari judul H2 */
    }

    .card h2 {
        margin-bottom: 30px;
    }
}


.nav-why {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    color: #fff;
    text-decoration: none;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.18);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.nav-why-arrow {
    font-size: 14px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.nav-why:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.nav-why:hover .nav-why-arrow {
    transform: translate(2px, -2px);
}