*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: inherit; }

:root {
    --navy:   #0f172a;
    --white:  #ffffff;
    --muted:  #94a3b8;
    --red:    #e11d48;
    --slate:  #475569;
    --border: #e2e8f0;
    --bg:     #f8fafc;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.construction {
    width: 100%;
}

.construction-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    gap: 16px;
}

.construction-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.construction-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.construction-tld {
    color: var(--red);
}

.construction-sub {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 4px 14px;
    border-radius: 100px;
}

.construction-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 4px;
}

.construction-body {
    max-width: 640px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.construction-body p {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.8;
}

.site-header {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background .3s, border-color .3s, box-shadow .3s;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 96px;
    transition: height .3s;
}

.site-header.scrolled .header-inner { height: 72px; }

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.header-logo {
    height: 72px;
    width: auto;
    display: block;
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--navy);
    line-height: 1;
}

.header-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 5px;
}

.header-tld {
    color: var(--red);
}

/* ── Nav ── */
.nav { margin-left: auto; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link:hover,
.nav-item--dropdown.is-open > .nav-link {
    background: rgba(99,102,241,.07);
    color: var(--navy);
}

.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform .2s;
    flex-shrink: 0;
}

.nav-item--dropdown.is-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.10);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 200;
    animation: none;
}

.nav-item--dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    transition: background .2s, color .2s, padding-left .2s;
}

.nav-dropdown-link:hover {
    background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(37,99,235,.08) 100%);
    color: var(--navy);
    padding-left: 28px;
}

/* Burger mobile */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

@media (max-width: 640px) {
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
           background: var(--white); border-bottom: 1px solid var(--border);
           padding: 12px 24px 16px; }
    .nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: flex-start; }
    .nav-dropdown { position: static; box-shadow: none; border: none; padding: 4px 0 4px 16px; }
    .nav-item--dropdown.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
    .nav-burger { display: flex; }
    .site-header { position: relative; }
}

.site-footer {
    width: 100%;
    background: var(--navy);
    color: var(--muted);
    font-size: 14px;
    padding: 32px 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-ua {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 36px;
    width: auto;
    flex-shrink: 0;
}

.footer-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.footer-link:hover { color: var(--white); }

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal {
    padding: 56px 0 80px;
    flex: 1;
    width: 100%;
    align-self: flex-start;
}

.legal-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--navy);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.7;
}

.legal-section a {
    color: var(--red);
    text-decoration: none;
}

.legal-section a:hover { text-decoration: underline; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
    margin-top: 16px;
}

.back-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-ua { flex-direction: column; text-align: center; }
}
