:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-muted: #eef2f7;
    --text: #172033;
    --muted: #617089;
    --line: #dce3ec;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #0f9f6e;
    --warning: #b7791f;
    --danger: #dc2626;
    --radius: 8px;
    --shadow: 0 16px 40px rgba(23, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .95rem;
    line-height: 1.55;
}

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

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

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.eyebrow {
    color: var(--primary);
    display: inline-flex;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    line-height: 1.12;
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(1.28rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: 0;
}

h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

p {
    color: var(--muted);
}

.btn {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    transition: .18s ease;
    white-space: nowrap;
}

.btn:hover {
    border-color: #b8c4d5;
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn--ghost {
    background: transparent;
}

.btn--small {
    min-height: 34px;
    padding-inline: 12px;
    font-size: .86rem;
}

.link {
    color: var(--primary);
    font-weight: 700;
}

.badge {
    align-items: center;
    background: var(--surface-muted);
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    min-height: 28px;
    padding-inline: 10px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: #334155;
    font-size: .84rem;
    font-weight: 700;
}

.input,
.select,
.textarea {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    min-height: 42px;
    outline: none;
    padding: 10px 12px;
    width: 100%;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
}

.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: .75rem;
    text-transform: uppercase;
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    body {
        font-size: .92rem;
    }

    .btn {
        min-height: 40px;
    }
}
