@font-face {
    font-family: "Geist";
    src: url("../fonts/Geist-Variable.ttf") format("truetype");
    font-display: block;
    font-style: normal;
    font-weight: 100 900;
}

:root {
    --color-page: #F7F7F4;
    --color-text: #26251E;
    --color-muted: #26251E;
    --color-soft: #efeee8;
    --color-line: rgba(20, 20, 17, 0.12);
    --color-panel: #e8e5dc;
    --color-accent: #151510;
    --content-width: 1160px;
    --page-padding: clamp(18px, 3vw, 40px);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--color-page);
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--color-text);
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    background: var(--color-page);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

p,
h1,
h2 {
    margin: 0;
}

ol,
ul {
    margin: 0;
}

.page-shell {
    width: min(100%, var(--content-width));
    min-height: 100svh;
    margin: 0 auto;
    padding: var(--page-padding);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    width: max-content;
    font-size: 1.35rem;
    font-weight: 620;
    letter-spacing: 0;
}

.site-main {
    min-height: 0;
    display: grid;
    align-content: center;
    padding-block: clamp(28px, 5vh, 48px) 0;
}

.hero {
    max-width: 1040px;
}

.status {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 520;
}

h1 {
    max-width: 760px;
    font-size: clamp(2rem, 2.2vw, 2.45rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0;
}

h1 span {
    display: block;
    color: inherit;
}

h2 span {
    display: block;
    color: var(--color-muted);
}

.hero-actions {
    margin-top: 26px;
}

.button {
    min-height: 48px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--color-accent);
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 560;
}

.button:hover {
    background: #33332e;
}

.studio-preview {
    max-height: min(34vh, 260px);
    margin-top: clamp(30px, 5vh, 42px);
    padding: clamp(18px, 3vw, 34px);
    overflow: hidden;
    background-color: var(--color-panel);
    background-image: url("../syntera-wallpaper.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 7px;
}

.browser-frame {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--color-page);
    border: 1px solid rgba(20, 20, 17, 0.12);
    border-radius: 12px;
    box-shadow: 0 28px 70px rgba(20, 20, 17, 0.12);
    transform: translateY(0);
}

.window-bar {
    min-height: 34px;
    display: grid;
    grid-template-columns: 12px 12px 12px 1fr;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 0.88rem;
}

.window-bar span {
    width: 12px;
    height: 12px;
    background: #d7d4ca;
    border-radius: 50%;
}

.window-bar p {
    justify-self: center;
    padding-right: 60px;
}

.preview-grid {
    min-height: 172px;
    display: grid;
    grid-template-columns: 210px 1fr;
}

.preview-sidebar {
    padding: 18px 22px;
    display: grid;
    align-content: start;
    gap: 16px;
    border-right: 1px solid var(--color-line);
    color: var(--color-muted);
}

.preview-sidebar p,
.preview-main p {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 680;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-sidebar span {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
}

.preview-main {
    padding: 22px clamp(26px, 4vw, 42px);
}

h2 {
    max-width: 540px;
    margin-top: 10px;
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    font-weight: 360;
    line-height: 1.04;
    letter-spacing: 0;
}

.preview-line {
    width: min(100%, 520px);
    height: 12px;
    margin-top: 18px;
    background: var(--color-soft);
    border-radius: 999px;
}

.preview-line.short {
    width: min(76%, 390px);
    margin-top: 14px;
}

.site-footer {
    margin-top: 0;
    padding-top: clamp(28px, 5vw, 48px);
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr);
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 430;
}

.footer-brand {
    display: grid;
    gap: 10px;
    max-width: 280px;
}

.footer-wordmark {
    width: max-content;
    font-size: 1.25rem;
    font-weight: 620;
}

.footer-brand p {
    max-width: 26ch;
    line-height: 1.45;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: clamp(22px, 4vw, 54px);
}

.footer-column,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 10px;
    font-style: normal;
}

.footer-heading {
    color: rgba(38, 37, 30, 0.56);
    font-weight: 520;
}

.footer-column a,
.footer-column span {
    color: inherit;
    font-weight: 520;
}

.footer-column a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(20, 20, 17, 0.08);
}

.legal-page .site-main {
    align-content: start;
    justify-items: center;
    padding-block: clamp(64px, 9vw, 118px);
}

.legal-page .page-shell {
    grid-template-rows: auto auto auto;
}

.legal-document {
    width: min(100%, 820px);
    margin-inline: auto;
    display: grid;
    gap: 34px;
}

.legal-hero {
    display: grid;
    gap: 22px;
    padding-bottom: 12px;
}

.legal-updated {
    color: rgba(38, 37, 30, 0.58);
    font-size: 0.9rem;
    font-weight: 520;
}

.legal-document h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 4.5vw, 4rem);
    font-weight: 380;
    line-height: 1.04;
}

.legal-document section {
    display: grid;
    gap: 14px;
}

.legal-document h2 {
    max-width: none;
    margin-top: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 560;
    line-height: 1.2;
}

.legal-document p,
.legal-document li {
    color: rgba(38, 37, 30, 0.84);
    font-size: 1rem;
    line-height: 1.72;
}

.legal-document strong {
    color: var(--color-text);
    font-weight: 640;
}

.legal-document a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-document ol,
.legal-document ul {
    display: grid;
    gap: 10px;
    padding-left: 1.4rem;
}

@media (max-width: 760px) {
    .page-shell {
        min-height: 100svh;
    }

    .site-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .site-main {
        padding-top: 52px;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(1.85rem, 8vw, 2.55rem);
    }

    .button {
        width: 100%;
    }

    .studio-preview {
        display: none;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--color-line);
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .legal-page .site-main {
        padding-block: 46px;
    }

    .legal-document {
        gap: 28px;
    }

    .legal-document p,
    .legal-document li {
        font-size: 0.94rem;
        line-height: 1.68;
    }
}
