﻿@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #f4f1ea;
    --text-main: #171717;
    --text-secondary: #55514a;
    --accent: #101010;
    --font-title: 'Special Gothic Expanded One', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100dvw;
    height: 100dvh;
}

html {
    scroll-behavior: smooth;
    background: #fbf8f1;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(216, 209, 193, 0.6), transparent 34%),
        linear-gradient(180deg, #f7f3eb 0%, #efe9dc 100%);
    color: var(--text-main);
    overflow: hidden;
}

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

a {
    color: inherit;
}

.home-page {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer,
.home-main {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.site-header {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.logo img {
    width: 36px;
    height: 36px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a,
.legal-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal-links a:hover,
.legal-links a:focus-visible {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.home-main {
    display: flex;
    align-items: center;
}

.hero-section {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 1.08fr);
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 560px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

h1 {
    font-family: var(--font-title);
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 22px;
    text-wrap: balance;
    min-width: 650px;
}

.description {
    max-width: 34rem;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.65;
}

.download-container {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 20px;
}

.btn-windows {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
}

.btn-windows i {
    font-size: 1.3rem;
}

.btn-windows span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-windows small {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.75;
    margin-bottom: 2px;
}

.coming-soon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.os-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container img {
    width: min(100%, 700px);
    transform: rotate(7deg);
    filter: drop-shadow(0 32px 40px rgba(23, 23, 23, 0.22));
}

.site-footer {
    padding-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 980px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding-top: 70px;
    }

    h1 {
        min-width: 80dvw;
        text-wrap: wrap;
        justify-self: center;
    }

    .hero-text,
    .description,
    .download-container,
    .coming-soon,
    .site-footer,
    .legal-links {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .mockup-container {
        order: 1;
    }

    .mockup-container img {
        width: min(100%, 430px);
        transform: none;
    }

    .download-container {
        margin-top: 24px;
    }
}

@media (max-width: 820px) {

    .site-header,
    .site-footer,
    .home-main {
        width: min(calc(100% - 32px), var(--container));
    }

    .site-header {
        padding-top: 16px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 22px;
        text-align: center;
    }

    body.nav-open .site-nav {
        display: flex;
    }

    body.nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-section {
        gap: 14px;
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: 0.74rem;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 14px;
    }

    .description {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .download-container,
    .coming-soon,
    .site-footer,
    .legal-links {
        flex-direction: column;
    }

    .btn-windows {
        padding: 10px 20px;
    }

    .coming-soon {
        font-size: 0.88rem;
    }

    .mockup-container img {
        width: min(100%, 310px);
    }

    .site-footer {
        padding: 16px 0 20px;
        text-align: center;
        font-size: 0.8rem;
    }
}