:root {
    --brand: #fdde02;
    --brand-dark: #e5c802;
}

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

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
    color: #0f172a;
    margin: 0;
    padding: 0;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

p, span, li, button, input, label, a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    image-rendering: high-quality;
}

.text-brand { color: #000000; }
.bg-brand { background-color: var(--brand); }

.btn-main {
    background-color: var(--brand);
    color: #000000;
    transition: all 0.3s cubic-bezier(0.625, 0.05, 0, 1);
    border-radius: 0.8rem;
    box-shadow: 0 4px 0px 0px #000000;
    font-weight: 800;
    border: 2px solid #000000;
}

.btn-main:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px #000000;
}

.nav-link-marker {
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

.nav-link-marker::before {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 40%;
    background-color: var(--brand);
    z-index: -1;
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.nav-link-marker:hover::before,
.nav-link-marker.active::before {
    width: 100%;
}

.eyebrow-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: -1;
    color: var(--brand);
    opacity: 0.3;
}

.card-stacked {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #0f172a;
}

.card-stacked:hover {
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: 8px 8px 0px 0px #0f172a;
}

::selection {
    background: var(--brand);
    color: #000;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

*, *::before, *::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

.animate-page {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

svg {
    shape-rendering: geometricPrecision;
    text-rendering: optimizeLegibility;
}

.demo-calendar .fc {
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: transparent;
    --fc-border-color: rgba(148, 163, 184, 0.2);
    --fc-today-bg-color: rgba(253, 222, 2, 0.08);
    --fc-event-bg-color: #fdde02;
    --fc-event-border-color: #fdde02;
    --fc-event-text-color: #000000;
    color: #e2e8f0;
    font-size: 0.85rem;
}

.demo-calendar .fc .fc-toolbar-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 1rem;
}

.demo-calendar .fc .fc-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
}

.demo-calendar .fc .fc-button:hover {
    background: rgba(255, 255, 255, 0.16);
}

.demo-calendar .fc .fc-button.fc-button-active {
    background: #fdde02;
    color: #000000;
    border-color: #fdde02;
}

.demo-calendar .fc .fc-daygrid-day-number {
    color: #cbd5f5;
    font-weight: 600;
}

.demo-calendar .fc .fc-daygrid-day.fc-day-selected {
    background: rgba(253, 222, 2, 0.18);
    border-radius: 0.5rem;
}

.demo-calendar .fc .fc-timegrid-slot-label,
.demo-calendar .fc .fc-timegrid-axis {
    color: #94a3b8;
}

.demo-calendar .fc .fc-scrollgrid {
    border-color: rgba(148, 163, 184, 0.15);
}
