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

:root {
    --primary: #FF9D1C;
    --text: #170D00;
    --text-muted: #666666;
    --white: #FFFFFF;
    --input-bg: #E0E0E0;
    --input-placeholder: #ACACAC;
    --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.docs-page {
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.docs-topbar {
    border-bottom: 1px solid rgba(23, 13, 0, 0.08);
    padding: 14px 40px;
}

.docs-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.docs-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.docs-home-link:hover {
    color: var(--primary);
}

.docs-home-link img {
    height: 28px;
    width: auto;
}

.docs-nav {
    border-bottom: 1px solid rgba(23, 13, 0, 0.08);
    background: #fffaf3;
    overflow-x: auto;
}

.docs-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 4px;
}

.docs-nav-link {
    flex-shrink: 0;
    padding: 14px 18px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.docs-nav-link:hover {
    color: var(--primary);
}

.docs-nav-link.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.docs-main {
    padding: 48px 40px 80px;
}

.docs-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.docs-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
}

.docs-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.docs-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.docs-brand-name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}

.docs-brand-tagline {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-top: 4px;
}

.docs-content {
    max-width: 920px;
}

.docs-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 40px 0 16px;
}

.docs-content h2:first-child {
    margin-top: 0;
}

.docs-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 24px 0 12px;
}

.docs-content p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.65;
}

.docs-content ul,
.docs-content ol {
    margin: 0 0 16px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.docs-content a {
    color: var(--primary);
    font-weight: 600;
}

.docs-section {
    margin-bottom: 8px;
}

.docs-callout {
    background: var(--primary);
    color: var(--white);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 32px 0;
}

.docs-callout h2,
.docs-callout h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.docs-callout p,
.docs-callout li {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.docs-callout ul {
    margin-left: 20px;
}

.docs-callout p:last-child,
.docs-callout li:last-child {
    margin-bottom: 0;
}

.docs-form-card {
    background: var(--primary);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
    max-width: 640px;
}

.docs-form-card-lead {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.5;
}

.docs-form-group {
    margin-bottom: 16px;
}

.docs-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
}

.docs-form-group input,
.docs-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: var(--white);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.docs-form-group input::placeholder,
.docs-form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.docs-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.docs-field {
    margin-bottom: 20px;
}

.docs-field label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.docs-field input {
    width: 100%;
    max-width: 480px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: var(--input-bg);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.docs-field input::placeholder {
    color: var(--input-placeholder);
}

.docs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 21px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.docs-btn:hover:not(:disabled) {
    background: #e88a15;
    transform: translateY(-1px);
}

.docs-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.docs-btn-light {
    background: var(--white);
    color: var(--text);
}

.docs-btn-light:hover:not(:disabled) {
    background: #f5f5f5;
}

.docs-btn-block {
    width: 100%;
    max-width: 480px;
}

.docs-support-note {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(23, 13, 0, 0.08);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    max-width: 920px;
}

.docs-support-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.docs-support-note a:hover {
    text-decoration: underline;
}

.docs-footer {
    background: var(--text);
    color: var(--white);
    padding: 32px 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

.docs-alert {
    display: none;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    max-width: 640px;
}

.docs-alert.is-visible {
    display: block;
}

.docs-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.docs-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.docs-field-error {
    display: none;
    color: #c0392b;
    font-size: 13px;
    margin-top: 6px;
}

.docs-field-error.is-visible {
    display: block;
}

.docs-loading {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.docs-loading.is-visible {
    display: block;
}

@media (max-width: 768px) {
    .docs-topbar,
    .docs-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .docs-nav-inner {
        padding: 0 20px;
    }

    .docs-brand-name {
        font-size: 24px;
    }

    .docs-content h2,
    .docs-content h3 {
        font-size: 20px;
    }
}
