/* Explain: Base reset, typography defaults, custom scrollbar, and Alpine cloak. - */
* {
    box-sizing: border-box;
}

html {
    background: var(--steel-color);
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background: var(--background-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--steel-color);
}
::-webkit-scrollbar-thumb {
    background-color: var(--urgent-color);
    border-radius: 6px;
    border: 3px solid var(--steel-color);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--navy-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

[x-cloak] {
    display: none !important;
}

::selection {
    background: var(--urgent-color);
    color: var(--white-color);
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

body:not(.is-logged-in) .show-when-logged-in { display: none !important; }
body.is-logged-in .hide-when-logged-in { display: none !important; }
