@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&display=swap");

:root {
    --color-blue-100: #d9e5ff;
    --color-blue-200: #bacefe;
    --color-blue-300: #9bb6fd;
    --color-blue-400: #80a0fb;
    --color-blue-500: #567cf2;
    --color-blue-600: #476eea;
    --color-blue-700: #395fd8;
    --color-blue-800: #2a49ae;
    --color-blue-900: #182c6d;
    --color-blue-950: #0b1536;
}

* {
    min-width: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        "Barlow",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

/* ============================================
   Navigation
   ============================================ */
.uniformNav {
    display: flex;
    align-items: stretch;
}

.uniformNav a {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    text-decoration: none;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition:
        color 0.2s,
        border-color 0.2s;
}

.uniformNav a:hover,
.uniformNav a.active {
    color: var(--color-blue-700);
    border-bottom-color: var(--color-blue-700);
}

.uniformNav.-white a {
    color: rgba(255, 255, 255, 0.8);
}

.uniformNav.-white a:hover,
.uniformNav.-white a.active {
    color: white;
    border-bottom-color: white;
}

/* ============================================
   Buttons
   ============================================ */
.uniformButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em 1em;
    border: 1px solid currentColor;
    border-radius: 0.25em;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    font-size: inherit;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.uniformButton.-outline {
    background: transparent;
}

.uniformButton.-lg {
    padding: 0.75em 1.5em;
    font-size: 1rem;
}

.uniformButton.-xl {
    padding: 1em 2em;
    font-size: 1.125rem;
}

.uniformButton.-purple-50 {
    color: #7c3aed;
    border-color: #7c3aed;
    background: transparent;
}

.uniformButton.-purple-50:hover {
    background: #7c3aed;
    color: white;
}

.uniformButton.-blue {
    background: var(--color-blue-600);
    border-color: var(--color-blue-600);
    color: white;
}

.uniformButton.-blue:hover {
    background: var(--color-blue-700);
    border-color: var(--color-blue-700);
}

.uniformButton.-outline.-blue {
    background: transparent;
    border-color: var(--color-blue-500);
    color: white;
}

.uniformButton.-outline.-blue:hover {
    background: var(--color-blue-600);
    border-color: var(--color-blue-600);
}

.border-2px {
    border-width: 2px;
}

/* ============================================
   Form Inputs
   ============================================ */
.uniformInput,
.uniformForm
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.uniformForm textarea,
.uniformForm select {
    display: block;
    width: 100%;
    padding: 0.5em 0.75em;
    border: 1px solid #d1d5db;
    border-radius: 0.25em;
    font-size: 1em;
    font-family: inherit;
    line-height: 1.5;
    background: white;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.uniformInput:focus,
.uniformForm
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.uniformForm textarea:focus,
.uniformForm select:focus {
    outline: none;
    border-color: var(--color-blue-500);
    box-shadow: 0 0 0 3px rgba(86, 124, 242, 0.2);
}

/* Input Group */
.uniformInputGroup {
    display: flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 0.25em;
    background: white;
    overflow: hidden;
}

.uniformInputGroup input {
    flex: 1;
    border: none;
    padding: 0.5em 0.75em;
    font-size: inherit;
    font-family: inherit;
    outline: none;
}

.uniformInputGroup .uniformButton {
    border-radius: 0;
    border: none;
    border-left: 1px solid #d1d5db;
}

/* Floating labels */
.uniformFloatingLabel {
    position: relative;
}

.uniformFloatingLabel label {
    position: absolute;
    top: 0.75em;
    left: 0.75em;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 0.25em;
}

.uniformFloatingLabel.active label,
.uniformFloatingLabel input:focus + label,
.uniformFloatingLabel input:not(:placeholder-shown) + label {
    top: -0.5em;
    left: 0.5em;
    font-size: 0.75em;
    color: var(--color-blue-700);
}

/* Error states */
input.error,
.uniformInput.error {
    border-color: #ef4444;
}

input.error:focus,
.uniformInput.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* ============================================
   Thumbnail / Icon Container
   ============================================ */
.uniformThumb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.uniformThumb img {
    max-width: 100%;
    max-height: 100%;
}

/* ============================================
   Pointer/tooltip
   ============================================ */
.uniformPointer {
    background: rgba(31, 41, 55, 0.9);
    padding: 0.25em 0.5em;
    color: #fafafa !important;
    border-radius: 0.25em;
    font-size: 0.875em;
}

/* ============================================
   Header / Navigation
   ============================================ */
header .changebaseNav {
    display: flex;
    align-items: stretch;
    background: var(--color-blue-950);
    transition: background-color 400ms ease;
}

header .changebaseNav > * {
    transition: color 400ms ease;
}

header .changebaseNav a {
    color: rgba(255, 255, 255, 0.8);
}

header .changebaseNav a:hover {
    color: white;
}

header .changebaseNav .button {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

header .logo-inv {
    display: block;
    opacity: 1;
    transition: opacity 400ms ease;
}

header .logo {
    display: none;
    opacity: 0;
    transition: opacity 400ms ease;
}

header[stuck] .changebaseNav,
header.-light .changebaseNav {
    background: white !important;
    border-bottom: 1px solid #e5e7eb;
}

header[stuck] .changebaseNav a,
header.-light .changebaseNav a {
    color: #6b7280;
}

header[stuck] .changebaseNav a:hover,
header.-light .changebaseNav a:hover {
    color: var(--color-blue-700);
}

header[stuck] .logo,
header.-light .logo {
    display: block;
    opacity: 1;
}

header[stuck] .logo-inv,
header.-light .logo-inv {
    display: none;
    opacity: 0;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin: 0.5rem 0;
}

/* Slanted backgrounds */
.bg-slanted {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: skewY(-3deg);
    transform-origin: top left;
}

.bg-corner-cut {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits .illustrations {
    display: grid;
    position: relative;
}

.benefits .illustration {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefits .illustration.active {
    opacity: 1;
}

.benefits .benefit {
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.benefits .benefit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background-color 0.3s ease;
}

.benefits .benefit.active,
.benefits .benefit:hover {
    opacity: 1;
}

.benefits .benefit.active::before {
    background: var(--color-blue-500);
}

/* ============================================
   Scenarios Section
   ============================================ */
.scenarios {
    display: inline-block;
}

.scenario {
    display: none;
}

.scenario.active {
    display: block;
}

.scenario-indicator {
    display: inline-block;
    text-decoration: none;
}

.scenario-indicator .circle {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background-color 0.2s ease;
}

.scenario-indicator.active .circle,
.scenario-indicator:hover .circle {
    background: var(--color-blue-500);
}

/* ============================================
   Shadows
   ============================================ */
.shadow-down-light {
    box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.2);
}

.shadow-super-subtle {
    box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.2);
}

.shadow-4x {
    box-shadow: 0 1px 12px 1px rgba(0, 0, 0, 0.2);
}

.shadow-8x {
    box-shadow: 0 1px 24px 0 rgba(0, 0, 0, 0.1);
}

.shadow-16x {
    box-shadow: 0 1px 48px 0 rgba(0, 0, 0, 0.2);
}

/* ============================================
   Letter Spacing
   ============================================ */
.letter-spacing-2x {
    letter-spacing: 0.05em;
}

.letter-spacing-4x {
    letter-spacing: 0.1em;
}

.letter-spacing-8x {
    letter-spacing: 0.2em;
}

/* ============================================
   Code Blocks
   ============================================ */
pre {
    padding: 1em;
    background: #f3f4f6;
    overflow-x: auto;
    max-width: 100%;
    border-radius: 0.25em;
    font-size: 0.875em;
}

pre code {
    background: none;
    padding: 0;
}

code {
    font-size: 0.875em;
    background: #f3f4f6;
    padding: 0.25em 0.5em;
    color: var(--color-blue-700);
    border-radius: 0.25em;
}

/* ============================================
   Chevron Icon
   ============================================ */
.chevron-right {
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
}

.chevron-right::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(-45deg);
    right: 6px;
    top: 4px;
}

/* ============================================
   Spacing Utilities
   ============================================ */
.space-y > * + * {
    margin-top: 1rem;
}

.space-x {
    display: flex;
    gap: 1rem;
}

.space-x > * {
    flex: 1;
}

/* ============================================
   Positioning Utilities
   ============================================ */
.sticky-left {
    position: sticky;
    left: 0;
}
.sticky-right {
    position: sticky;
    right: 0;
}
.sticky-top {
    position: sticky;
    top: 0;
}
.sticky-bottom {
    position: sticky;
    bottom: 0;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ============================================
   Text Utilities
   ============================================ */
.text-nowrap {
    white-space: nowrap;
}

.text-no-underline {
    text-decoration: none;
}

.text-no-underline:hover,
.hover\:text-underline:hover {
    text-decoration: underline;
}

.text-bold {
    font-weight: 600;
}

/* Reset link styles */
a.reset {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Overflow Utilities
   ============================================ */
.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

/* ============================================
   Sizing Utilities
   ============================================ */
.min-height-50-vh {
    min-height: 50vh;
}

.width-full,
.width-100-p {
    width: 100%;
}

.height-auto {
    height: auto;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* ============================================
   Padding Utilities (legacy uniform-ui names)
   ============================================ */
.pad-v-half {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.p-quarter {
    padding: 0.25rem;
}

/* ============================================
   Form Layout
   ============================================ */
.uniformForm label {
    display: block;
    margin-bottom: 0.25em;
    font-weight: 500;
}

.uniformForm .field {
    margin-bottom: 1rem;
}

/* ============================================
   Responsive Image Utilities
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Z-index Layers
   ============================================ */
.z-10 {
    z-index: 10;
}
.z-20 {
    z-index: 20;
}
.z-30 {
    z-index: 30;
}

/* ============================================
   Animation for Benefits/Scenarios
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.benefit.active .benefit-inner,
.scenario.active {
    animation: fadeIn 0.3s ease;
}
