:root {
    --op-color-forest-900: #2e4438;
    --op-color-forest-700: #435b4d;
    --op-color-sage-600: #778f80;
    --op-color-sage-300: #a4b7ab;
    --op-color-blush-300: #dec2bb;
    --op-color-blush-200: #edcdc4;
    --op-color-canvas: #f8faf8;
    --op-color-surface: #ffffff;
    --op-color-text: #24342b;
    --op-color-muted: #66766d;
    --op-color-border: #dfe6e1;
    --op-color-danger: #9d3434;
    --op-color-danger-soft: #f8e9e7;
    --op-color-success: #2f6b4a;
    --op-color-success-soft: #e9f4ed;
    --op-color-info-soft: #eef3f0;
    --op-font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --op-radius-sm: 0.55rem;
    --op-radius-md: 0.9rem;
    --op-radius-lg: 1.35rem;
    --op-shadow-sm: 0 10px 30px rgb(46 68 56 / 0.07);
    --op-shadow-md: 0 18px 50px rgb(46 68 56 / 0.11);
    --op-container: 74rem;
    --op-transition: 180ms ease;
    --op-focus-ring: 0 0 0 0.22rem rgb(119 143 128 / 0.34);
}

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

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    min-width: 20rem;
    margin: 0;
    color: var(--op-color-text);
    background: var(--op-color-canvas);
    font-family: var(--op-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

a {
    color: var(--op-color-forest-700);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--op-color-forest-900);
}

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

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

:focus-visible {
    outline: 0;
    box-shadow: var(--op-focus-ring);
}

::selection {
    color: var(--op-color-forest-900);
    background: var(--op-color-blush-200);
}

.op-container {
    width: min(100% - 2rem, var(--op-container));
    margin-inline: auto;
}

.op-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.op-skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: #fff;
    background: var(--op-color-forest-900);
    border-radius: var(--op-radius-sm);
    transform: translateY(-160%);
}

.op-skip-link:focus {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
