:root {
    --color-ink: #1e1e1e;
    --color-text: #2f2f2f;
    --color-muted-text: #7a7a7a;
    --color-surface: #ffffff;
    --color-background: #fffaf5;
    --color-panel: #fff4ea;
    --color-primary: #ff5f00;
    --color-primary-strong: #d94f00;
    --color-accent: #ff5f00;
    --color-success: #159447;
    --color-warning: #b45309;
    --color-danger: #dc2626;
    --color-border: #f0ded0;
    --shadow-sm: 0 8px 20px rgba(30, 30, 30, 0.06);
    --shadow-md: 0 22px 60px rgba(30, 30, 30, 0.12);
    --radius-sm: 16px;
    --radius-md: 28px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-size: 16px;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--color-text);
    background: radial-gradient(circle at 85% -10%, rgba(255, 95, 0, 0.16), transparent 34%), var(--color-background);
    font-family: var(--font-sans);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: 1.25rem;
}

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

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--color-ink);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

textarea {
    min-height: 108px;
    resize: vertical;
}

label {
    display: block;
    font-weight: 700;
    color: var(--color-ink);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

th,
td {
    padding: 13px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border);
}

th {
    color: var(--color-ink);
    font-size: 0.8rem;
    text-transform: uppercase;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

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

