.page-container {
    padding: 120px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
    height: 80vh;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-title {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-date {
    font-size: 15px;
    color: var(--text-secondary);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h2 {
    font-size: 24px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--surface-sunken);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.pricing-card-header {
    margin-bottom: 32px;
}

.pricing-tier {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-badge {
    background: #3B82F6;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.pricing-card .btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    margin-bottom: 32px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-feature svg {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.changelog-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
    margin-bottom: 64px;
}

.changelog-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    margin-bottom: 80px;
}

.changelog-date {
    font-size: 15px;
    color: var(--text-tertiary);
    position: sticky;
    top: 100px;
}

.changelog-content img {
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 32px;
    width: 100%;
}

.changelog-content h2 {
    font-size: 32px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.changelog-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.changelog-content ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.changelog-content li {
    margin-bottom: 16px;
    padding-left: 8px;
}

.changelog-content strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .changelog-entry {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .changelog-date {
        position: static;
    }
}

.markdown-preview.view-mode {
    padding-top: 0;
    padding-bottom: 40px;
    -webkit-mask-image: none;
    mask-image: none;
}