@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* General reset and shared styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f1115;
    --card: #1a1d24;
    --accent: #5B7B7A;
    --accent-2: #FFCDA2;
    --text: #f5f5f5;
    --muted: #b1b7bc;
    --shadow: 0 20px 80px rgba(0,0,0,0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 88px; /* offset for fixed header */
    min-height: 100vh;
}

main section {
    padding: 100px 40px;
    scroll-margin-top: 110px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: 32px;
    margin-top: 4px;
}

.eyebrow {
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--accent-2);
    color: #111;
}

@media (max-width: 768px) {
    body {
        padding-top: 76px;
    }

    main section {
        padding: 72px 20px;
    }
}
