:root {
    --navy: #163B6D;
    --orange: #BD710D;
    --bg: #f7f8fa;
    --card: #ffffff;
    --text: #22252b;
    --muted: #666b73;
    --border: #e2e5ea;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.docs-header {
    background: var(--navy);
    color: #fff;
    padding: 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75em;
}

.docs-header .brand {
    display: flex;
    align-items: center;
    gap: 0.6em;
    font-weight: bold;
    font-size: 1.1em;
}

.docs-header .brand .mark {
    width: 34px;
    height: 34px;
    border: 2px solid var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docs-nav {
    display: flex;
    gap: 1.2em;
    flex-wrap: wrap;
}

.docs-nav a {
    color: #dbe4f2;
    text-decoration: none;
    font-size: 0.92em;
    padding: 0.3em 0;
    border-bottom: 2px solid transparent;
}

.docs-nav a:hover, .docs-nav a.active {
    color: #fff;
    border-bottom-color: var(--orange);
}

.docs-body {
    max-width: 880px;
    margin: 0 auto;
    padding: 2.5em 1.5em 5em;
}

.docs-body h1 {
    color: var(--navy);
    font-size: 1.9em;
    margin-bottom: 0.2em;
}

.docs-body .subtitle {
    color: var(--muted);
    margin-bottom: 2em;
}

.docs-body h2 {
    color: var(--navy);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.3em;
    margin-top: 2.2em;
}

.docs-body h3 {
    color: var(--navy);
    margin-top: 1.6em;
}

.docs-body p, .docs-body li { color: var(--text); }

.docs-body a { color: var(--orange); }

.docs-body code {
    background: #eef0f4;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.docs-body pre {
    background: #1c1f26;
    color: #e8eaed;
    padding: 1.1em 1.3em;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.88em;
}

.docs-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.docs-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 0.94em;
}

.docs-body th, .docs-body td {
    border: 1px solid var(--border);
    padding: 0.6em 0.9em;
    text-align: left;
    vertical-align: top;
}

.docs-body th {
    background: #f0f3f8;
    color: var(--navy);
}

.callout {
    border-left: 4px solid var(--orange);
    background: #fff8ef;
    padding: 1em 1.3em;
    border-radius: 0 8px 8px 0;
    margin: 1.3em 0;
}

.callout.info {
    border-left-color: var(--navy);
    background: #eef4fb;
}

.callout strong { color: var(--navy); }

.checklist { list-style: none; padding-left: 0; }

.checklist li {
    padding: 0.35em 0 0.35em 1.8em;
    position: relative;
}

.checklist li::before {
    content: "☐";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 1.1em;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    font-size: 0.9em;
    margin-right: 0.4em;
}

.docs-footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.85em;
    padding: 2em 0;
}

@media (max-width: 640px) {
    .docs-header { flex-direction: column; align-items: flex-start; }
}
