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

html,
body {
    margin: 0;
    background: white;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #050505;
}

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

a:hover {
    text-decoration: underline;
}

a.external {
    color: #0016ff;
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid #e8e8e8;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

#plot-wrap {
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    transform-origin: center center;
    position: relative;
}

.plot-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

#plot-wrap.plot-ready .plot-placeholder {
    display: none;
}

#plot {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.brand-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #050505;
}

.brand-subtitle {
    margin-top: 6px;
    font-family: "Apple Chancery", "Brush Script MT", "Segoe Script", cursive;
    font-size: 15px;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.01em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

.content {
    margin-top: 20px;
}

.content h2 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

@media (max-width: 640px) {
    .page {
        padding: 32px 20px 48px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 24px;
    }

    #plot-wrap {
        width: 64px;
        height: 64px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-subtitle {
        font-size: 14px;
    }

    .nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .content {
        margin-top: 32px;
    }
}