/* ==========================================================================
   Viltgroen — Base: Reset, Custom Properties, Typography
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Custom Properties */
:root {
    /* Colors */
    --c-bg:           #0D1117;
    --c-surface:      #161B22;
    --c-surface2:     #1C2129;
    --c-border:       #2D333B;
    --c-text:         #D1D5DB;
    --c-text-dim:     #7B8496;
    --c-accent:       #3D8B6E;
    --c-accent-hover: #4CA882;
    --c-steel:        #94A3B8;
    --c-special:      #1A2E28;
    --c-white:        #F0F2F5;
    --c-error:        #E5534B;
    --c-success:      #57AB5A;

    /* Fonts */
    --f-heading: 'Cormorant Garamond', Garamond, serif;
    --f-body:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing (8px grid) */
    --s-4:   0.25rem;
    --s-8:   0.5rem;
    --s-12:  0.75rem;
    --s-16:  1rem;
    --s-24:  1.5rem;
    --s-32:  2rem;
    --s-40:  2.5rem;
    --s-48:  3rem;
    --s-64:  4rem;
    --s-80:  5rem;
    --s-96:  6rem;
    --s-120: 7.5rem;

    /* Border Radius */
    --r-sm: 2px;
    --r-md: 4px;
    --r-lg: 8px;

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur:  400ms;

    /* Layout */
    --max-w:    1120px;
    --header-h: 56px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    font-weight: 300;
    line-height: 1.2;
    color: var(--c-white);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.625rem, 3vw, 2.375rem);
}

h3 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--s-16);
}

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

strong {
    font-weight: 500;
}

/* Labels / Kicker */
.kicker {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-accent);
    margin-bottom: var(--s-16);
}

/* Links in body text */
.prose a {
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--dur) var(--ease);
}

.prose a:hover {
    color: var(--c-accent-hover);
}

/* reCAPTCHA badge hide */
.grecaptcha-badge {
    visibility: hidden;
}
