:root {
    --tools-accent: #087f8c;
    --tools-accent-dark: #05636c;
    --bg-primary: #3157d5;
    --bg-primary-dark: #2445b4;
    --cc-ink: #17191f;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background: #f6f8fb;
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid #6ea8ff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}

.wc-header {
    background: #ffffff;
    border-bottom: 1px solid #e1e6ee;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

.wc-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 74px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wc-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wc-logo-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #172033;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.wc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.wc-logo-title {
    font-size: 18px;
    font-weight: 800;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}
.wc-logo-title .wc-blue-letter {
    color: #2563eb;
}

.wc-logo-subtitle {
    margin-top: 3px;
    color: #69758a;
    font-size: 11px;
}

.wc-header-note {
    flex-shrink: 0;
    color: #69758a;
    font-size: 13px;
    font-weight: 600;
}

.wc-nav {
    background: #172033;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

.wc-nav-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
}

.wc-nav-links {
    display: flex;
    align-items: center;
    width: 100%;
}

.wc-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.wc-menu > li {
    position: relative;
}

.wc-menu a,
.wc-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 7px;
    color: #d9e1ef;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    background: transparent;
    border: none;
    line-height: normal;
    text-decoration: none;
    cursor: pointer;
}

.wc-menu a:hover,
.wc-menu a.active,
.wc-menu a[aria-current="page"],
.wc-dropdown:hover .wc-dropdown-toggle,
.wc-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.wc-dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
}

.wc-dropdown {
    position: relative;
}

.wc-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 5px;
}

.wc-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    margin: 4px 0 0 0;
    padding: 6px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.wc-dropdown:hover .wc-dropdown-menu,
.wc-dropdown-toggle:focus + .wc-dropdown-menu,
.wc-dropdown-menu:focus-within {
    display: block;
}

.wc-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.wc-dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #172033;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0;
    white-space: nowrap;
}

.wc-dropdown-menu a:hover {
    background: #f0f4f9;
    color: #172033;
}

.wc-nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.wc-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wc-nav-toggle::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}

.wc-nav-toggle[aria-expanded="true"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.wc-footer {
    background: #172033;
    color: #ffffff;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.wc-footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 45px;
}

.wc-footer h2 {
    margin: 0 0 12px;
    font-size: 15px;
}

.wc-footer p {
    max-width: 330px;
    margin: 0;
    color: #aebbd0;
    font-size: 13px;
}

.wc-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.wc-footer-links a {
    color: #aebbd0;
    font-size: 14px;
}

.wc-footer-links a:hover {
    color: #ffffff;
}

.wc-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.wc-footer-bottom p {
    max-width: none;
    margin: 0;
    color: #8f9db4;
    font-size: 11px;
}

@media (max-width: 1100px) {
    .wc-nav-links a {
        padding: 7px 10px;
    }
}

@media (max-width: 860px) {
    .wc-nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 6px 0;
    }

    .wc-nav-links {
        width: 100%;
    }

    .wc-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .wc-nav-toggle {
        display: inline-flex;
    }

    .wc-nav-toggle ~ .wc-nav-links {
        display: none;
        padding: 8px 0 10px;
        margin-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .wc-nav-toggle[aria-expanded="true"] ~ .wc-nav-links {
        display: block;
    }

    .wc-menu a,
    .wc-dropdown-toggle {
        display: block;
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
        white-space: normal;
        text-align: left;
    }

    .wc-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.15);
        margin: 4px 0;
        padding: 4px 0 4px 12px;
    }

    .wc-dropdown-menu a {
        color: #d9e1ef;
    }

    .wc-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
}

@media (max-width: 950px) {
    .wc-counter-layout {
        grid-template-columns: 1fr;
    }

    .wc-stat-column {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .wc-two-column {
        grid-template-columns: 1fr;
    }

    .wc-steps {
        grid-template-columns: 1fr;
    }

    .wc-footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px 30px;
    }

    .wc-footer-brand {
        grid-column: 1 / -1;
    }

    .wc-footer-inner,
    .wc-footer-bottom {
        text-align: center;
    }

    .wc-footer-links {
        align-items: center;
    }

    .wc-footer p {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px) {
    .wc-header-inner {
        min-height: 65px;
    }

    .wc-header-note {
        display: none;
    }

    .wc-main {
        padding: 40px 0 60px;
    }

    .wc-intro h1 {
        font-size: 36px;
    }

    .wc-stat-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .wc-editor {
        min-height: 350px;
        padding: 15px;
    }

    .wc-textarea {
        min-height: 250px;
    }

    .wc-editor-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .wc-footer-inner {
        padding: 40px 0 30px;
    }
}

@media (max-width: 560px) {
    .wc-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wc-footer-links {
        gap: 0;
    }

    .wc-footer-links h2 {
        margin-bottom: 8px;
    }

    .wc-footer-links a {
        display: block;
        padding: 7px 0;
        font-size: 14px;
    }

    .wc-footer p {
        font-size: 14px;
    }

    .wc-footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .wc-header-inner,
    .wc-nav-inner,
    .wc-container,
    .wc-content,
    .wc-footer-inner,
    .wc-footer-bottom {
        width: calc(100% - 28px);
    }

    .wc-logo-subtitle {
        display: none;
    }

    .wc-logo-title {
        font-size: 16px;
    }

    .wc-logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .wc-stat {
        min-height: 90px;
        padding: 14px;
    }

    .wc-stat-number {
        font-size: 23px;
    }

    .wc-demo-number {
        font-size: 58px;
    }
}

@media (max-width: 360px) {
    .wc-logo {
        gap: 9px;
    }

    .wc-logo-title {
        font-size: 15px;
    }

    .wc-nav-toggle {
        padding: 8px 12px;
    }
}

.wc-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: none;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(20, 33, 61, 0.16);
    animation: wcCookieSlideUp 0.25s ease;
}

.wc-cookie-banner.wc-cookie-visible {
    display: block;
}

.wc-cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.wc-cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.wc-cookie-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f4f7f9;
    font-size: 20px;
}

.wc-cookie-text h2 {
    margin: 0 0 5px;
    color: #14213d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.wc-cookie-text p {
    max-width: 700px;
    margin: 0;
    color: #667386;
    font-size: 13px;
    line-height: 1.6;
}

.wc-cookie-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.wc-cookie-actions button {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.wc-cookie-reject {
    border: 1px solid #d7dee6;
    background: #ffffff;
    color: #526174;
}

.wc-cookie-reject:hover {
    border-color: #b9c4d0;
    background: #f5f7f9;
    color: #14213d;
}

.wc-cookie-accept {
    border: 1px solid #14213d;
    background: #14213d;
    color: #ffffff;
}

.wc-cookie-accept:hover {
    background: #243858;
    border-color: #243858;
}

.wc-cookie-actions button:focus-visible {
    outline: 3px solid rgba(20, 33, 61, 0.2);
    outline-offset: 2px;
}

@keyframes wcCookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 800px) {
    .wc-cookie-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 18px 20px;
    }

    .wc-cookie-text p {
        max-width: none;
    }

    .wc-cookie-actions {
        width: 100%;
    }

    .wc-cookie-actions button {
        flex: 1;
    }
}

@media (max-width: 500px) {
    .wc-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-radius: 14px;
    }

    .wc-cookie-content {
        padding: 16px;
    }

    .wc-cookie-text {
        gap: 10px;
    }

    .wc-cookie-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .wc-cookie-text h2 {
        font-size: 15px;
    }

    .wc-cookie-text p {
        font-size: 12px;
        line-height: 1.55;
    }

    .wc-cookie-actions {
        flex-direction: column;
    }

    .wc-cookie-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-cookie-banner {
        animation: none;
    }

    .wc-cookie-actions button {
        transition: none;
    }
}
