:root {
    --tie-accent: #cf2436;
    --tie-accent-hover: #9d0004;
    --tie-bg: #ffffff;
    --tie-soft-bg: #f3f5f7;
    --tie-dark: #1f2024;
    --tie-text: #2c2f34;
    --tie-muted: #6f7680;
    --tie-border: #e4e8ec;
    --tie-shadow: 0 12px 30px rgba(31, 32, 36, 0.07);
    --tie-radius: 10px;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Alata", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--tie-text);
    background: var(--tie-soft-bg);
    line-height: 1.7;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
    color: var(--tie-accent);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--tie-accent);
    outline-offset: 2px;
}

button {
    font: inherit;
}

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

.tie-row {
    display: flex;
    gap: 24px;
}

.tie-col-md-8 {
    flex: 1 1 calc(70% - 12px);
    min-width: 0;
}

.tie-col-md-4 {
    flex: 0 0 calc(30% - 12px);
    min-width: 0;
}

.container-wrapper {
    background: var(--tie-bg);
    border: 1px solid var(--tie-border);
    border-radius: var(--tie-radius);
    box-shadow: var(--tie-shadow);
    margin-bottom: 24px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    background: var(--tie-accent);
    color: #fff;
    cursor: pointer;
}

.button:hover {
    background: var(--tie-accent-hover);
    color: #fff;
}

.button:active {
    transform: translateY(1px);
}

.button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.site-content {
    margin: 22px auto 28px;
}

@media (max-width: 991px) {
    .tie-row {
        flex-direction: column;
    }

    .tie-col-md-8,
    .tie-col-md-4 {
        flex: 1 1 100%;
    }
}

@media (max-width: 767px) {
    .container {
        width: calc(100% - 22px);
    }
}
