/* ============================================================
   INLINER brand content pages — dark warm-ink editorial theme
   Companion to home-alt.css. Restyles the shared content-page
   class vocabulary (article-content, code editors, endpoint
   cards, grids, tables, CTAs) plus a minimal Bulma-compatible
   layer so docs/use-case/landing pages match the new brand.
   Everything is scoped under body.ha.
   ============================================================ */

.ha .content-page {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- article scaffolding + typography ---------- */

.ha .article-content {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 4.5rem 28px 4rem;
    line-height: 1.7;
    box-sizing: border-box;
    flex: 1;
}

.ha .article-content.wide { max-width: 1180px; }

.ha .article-content h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.6vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--cream);
    margin: 0 0 1.2rem;
}

.ha .article-content h1 em,
.ha .article-content h2 em {
    font-style: italic;
    color: var(--link-bright);
}

.ha .article-content h1 .fas,
.ha .article-content h1 .fab,
.ha .article-content h2 .fas,
.ha .article-content h2 .fab {
    color: var(--verb);
    font-size: 0.7em;
    vertical-align: 0.12em;
    margin-right: 0.35rem;
}

.ha .article-content h2 {
    font-family: var(--font-display);
    font-weight: 480;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--cream);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.55rem;
    margin: 3rem 0 1.1rem;
}

.ha .article-content h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.22rem;
    color: var(--cream);
    margin: 2rem 0 0.8rem;
}

.ha .article-content h4 {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cream);
    margin: 1.6rem 0 0.7rem;
}

.ha .article-content p { color: var(--cream-dim); margin: 0 0 1.15rem; }
.ha .article-content li { color: var(--cream-dim); margin-bottom: 0.45rem; }
.ha .article-content ul,
.ha .article-content ol { margin: 0 0 1.15rem; padding-left: 1.6rem; }
.ha .article-content strong { color: var(--cream); font-weight: 600; }

.ha .article-content a { color: var(--link); text-decoration: none; }
.ha .article-content a:hover { color: var(--link-bright); text-decoration: underline; }

.ha .article-content code {
    font-family: var(--font-mono);
    font-size: 0.86em;
    background: var(--ink-raised);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 0.12rem 0.4rem;
    color: var(--verb);
}

/* page lede paragraph directly after h1 */
.ha .article-content h1 + p {
    font-size: 1.12rem;
    color: var(--cream-dim);
    max-width: 720px;
}

.ha .hero-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    margin: 1.6rem 0 2.2rem;
}

/* ---------- tables (params, plans, comparisons) ---------- */

.ha .article-content table,
.ha table.plan-table,
.ha table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0 1.8rem;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

.ha .article-content th,
.ha .article-content td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--cream-dim);
}

.ha .article-content th {
    background: var(--ink-3);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

.ha .article-content tr:last-child td { border-bottom: none; }

.ha .param-required { color: var(--danger); font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; }
.ha .param-optional { color: var(--cream-faint); font-family: var(--font-mono); font-size: 0.72rem; }

/* ---------- code blocks / editors ---------- */

.ha .code-block,
.ha .code-editor {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.2rem 0 1.6rem;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.ha .code-header {
    background: var(--ink-3);
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ha .code-title,
.ha .article-content .code-header h4 {
    font-family: var(--font-mono);
    color: var(--cream-dim) !important;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin: 0;
    border: none;
}

.ha .code-dots { display: flex; gap: 0.45rem; }
.ha .code-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); opacity: 0.85; }
.ha .code-dot:nth-child(2) { background: var(--verb); }
.ha .code-dot:nth-child(3) { background: var(--ok); }

.ha .code-content {
    padding: 1.15rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--cream) !important;
    overflow-x: auto;
}

.ha .code-content pre {
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: var(--cream) !important;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ha .code-content code {
    background: transparent !important;
    border: none;
    padding: 0;
    color: var(--cream) !important;
    font-size: inherit;
}

.ha .code-content .comment { color: var(--cream-faint); }
.ha .code-content .cmd { color: var(--verb); }
.ha .code-content .string { color: var(--ok); }
.ha .code-content .flag { color: var(--link-bright); }

/* ---------- api-docs specifics ---------- */

.ha .base-url {
    background: var(--ink-3);
    border: 1px solid var(--line-strong);
    color: var(--link-bright);
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 1.02rem;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.ha .endpoint-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 1.5rem 0;
    overflow: hidden;
}

.ha .endpoint-header {
    padding: 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--ink-3);
}

.ha .endpoint-method {
    font-family: var(--font-mono);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
}

.ha .endpoint-method.get { background: rgba(85, 209, 134, 0.14); color: var(--ok); border-color: rgba(85, 209, 134, 0.35); }
.ha .endpoint-method.post { background: rgba(125, 167, 255, 0.14); color: var(--link-bright); border-color: rgba(125, 167, 255, 0.35); }
.ha .endpoint-method.delete { background: rgba(255, 122, 107, 0.14); color: var(--danger); border-color: rgba(255, 122, 107, 0.35); }

.ha .endpoint-path {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--cream);
    overflow-wrap: anywhere;
}

.ha .endpoint-body { padding: 1.4rem; }
.ha .endpoint-desc { color: var(--cream-dim); margin-bottom: 1rem; }

.ha .toc {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.8rem;
    margin: 2rem 0;
}

.ha .toc h4 { margin: 0 0 0.9rem; color: var(--cream); }
.ha .toc ul { list-style: none; padding: 0; margin: 0; }
.ha .toc li { margin: 0.42rem 0; }
.ha .toc a { font-family: var(--font-mono); font-size: 0.88rem; color: var(--link); text-decoration: none; }
.ha .toc a:hover { color: var(--link-bright); text-decoration: underline; }

/* ---------- callouts ---------- */

.ha .quick-tip {
    background: rgba(125, 167, 255, 0.07);
    border: 1px solid rgba(125, 167, 255, 0.25);
    border-left: 3px solid var(--link);
    padding: 1rem 1.4rem;
    margin: 1.8rem 0;
    border-radius: 0 10px 10px 0;
    color: var(--cream-dim);
}

.ha .quick-tip strong { color: var(--cream); }

.ha .warning-box {
    background: rgba(232, 183, 92, 0.07);
    border: 1px solid rgba(232, 183, 92, 0.28);
    border-left: 3px solid var(--verb);
    padding: 1rem 1.4rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    color: var(--cream-dim);
}

.ha .warning-box strong { color: var(--verb); }

/* ---------- card grids ---------- */

.ha .tool-grid,
.ha .agent-grid,
.ha .feature-grid,
.ha .command-grid,
.ha .step-grid,
.ha .role-grid,
.ha .value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    margin: 1.6rem 0 2rem;
}

.ha .tool-card,
.ha .agent-card,
.ha .feature-card,
.ha .command-card,
.ha .step-card,
.ha .role-card,
.ha .value-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.ha .tool-card:hover,
.ha .agent-card:hover,
.ha .feature-card:hover,
.ha .command-card:hover,
.ha .role-card:hover,
.ha .value-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.ha .tool-card h4,
.ha .feature-card h3,
.ha .feature-card h4,
.ha .command-card h3,
.ha .command-card h4,
.ha .step-card h3,
.ha .step-card h4,
.ha .role-card h3,
.ha .role-card h4,
.ha .value-card h3,
.ha .value-card h4 {
    color: var(--cream);
    margin: 0 0 0.45rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.02rem;
}

.ha .tool-card p,
.ha .feature-card p,
.ha .command-card p,
.ha .step-card p,
.ha .role-card p,
.ha .value-card p {
    color: var(--cream-dim);
    font-size: 0.93rem;
    margin: 0;
}

.ha .feature-links { margin-top: 0.7rem; font-size: 0.85rem; }
.ha .feature-links a { color: var(--link); text-decoration: none; }
.ha .feature-links a:hover { color: var(--link-bright); text-decoration: underline; }

/* agent cards keep their per-tool icon accents */
.ha .agent-card { padding: 0; overflow: hidden; }
.ha .agent-card-header { padding: 1.4rem 1.4rem 0.6rem; text-align: center; background: transparent; }
.ha .agent-card-icon { font-size: 2.2rem; margin-bottom: 0.6rem; }
.ha .agent-card-title { font-size: 1.18rem; font-weight: 600; margin-bottom: 0.2rem; color: var(--cream); }
.ha .agent-card-body { padding: 0 1.4rem 1.4rem; }
.ha .agent-card-body p { color: var(--cream-dim); }

.ha .agent-card code {
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 0.7rem;
    border-radius: 8px;
    display: block;
    font-size: 0.78rem;
    margin-top: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* per-agent icon accents (mcp page) */
.ha .claude-card .agent-card-icon { color: #ff8a7a; }
.ha .cursor-card .agent-card-icon { color: #2fe0bc; }
.ha .copilot-card .agent-card-icon { color: var(--cream); }
.ha .gemini-card .agent-card-icon { color: #6fa4ff; }
.ha .windsurf-card .agent-card-icon { color: #3fd3ec; }
.ha .codex-card .agent-card-icon { color: #2fc79c; }

/* role / command / step card details */
.ha .role-card h3 { display: flex; align-items: center; gap: 0.7rem; }
.ha .role-card h3 i { font-size: 1.3rem; }
.ha .role-card.owner h3 i { color: var(--verb); }
.ha .role-card.member h3 i { color: var(--link); }
.ha .role-card ul { padding-left: 1.4rem; margin: 0.6rem 0 0; }
.ha .role-card li { color: var(--cream-dim); margin-bottom: 0.45rem; }

.ha .command-card h4 { display: flex; align-items: center; gap: 0.5rem; }
.ha .command-card h4 i { color: var(--link); }

.ha .tool-card h4 { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.92rem; }
.ha .tool-card h4 i { color: var(--verb); }

.ha .command-card code {
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    display: block;
    font-size: 0.8rem;
    margin-top: 0.8rem;
    overflow-x: auto;
}

.ha .step-card { text-align: center; }

/* numbered steps */
.ha .step-card .step-number { margin-left: auto; margin-right: auto; width: 44px; height: 44px; font-size: 1.1rem; }

.ha .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(125, 167, 255, 0.14);
    border: 1px solid rgba(125, 167, 255, 0.4);
    color: var(--link-bright);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

/* feature checklists (cli page uses a grid of items) */
.ha .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 2rem;
}

.ha .feature-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--cream-dim);
}

.ha .feature-item i { color: var(--ok); font-size: 1.05rem; margin-top: 0.25rem; }
.ha .feature-item div h4 { margin: 0 0 0.25rem; color: var(--cream); font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.ha .feature-item div p { margin: 0; color: var(--cream-dim); font-size: 0.9rem; }

/* ---------- conversation demo ---------- */

.ha .conversation {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    margin: 2rem 0;
}

.ha .conversation-item { display: flex; gap: 1rem; margin-bottom: 1rem; }
.ha .conversation-item:last-child { margin-bottom: 0; }

.ha .conversation-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.ha .conversation-avatar.user { background: rgba(125, 167, 255, 0.18); color: var(--link-bright); }
.ha .conversation-avatar.ai { background: rgba(232, 183, 92, 0.16); color: var(--verb); }

.ha .conversation-message {
    background: var(--ink-3);
    border: 1px solid var(--line);
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    box-shadow: none;
    flex: 1;
}

.ha .conversation-message p { margin: 0; color: var(--cream-dim); }

.ha .conversation-message code {
    background: var(--ink);
    border: 1px solid var(--line);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--verb);
}

/* ---------- CTAs ---------- */

.ha .cta-section {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    color: var(--cream);
    padding: 4rem 0;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.ha .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(640px 300px at 50% 0%, rgba(125, 167, 255, 0.12), transparent 65%);
}

.ha .cta-section > * { position: relative; }

.ha .cta-section h2 {
    font-family: var(--font-display);
    font-weight: 480;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    letter-spacing: -0.01em;
    color: var(--cream);
    margin: 0 0 0.7rem;
}

.ha .cta-section p { color: var(--cream-dim); max-width: 560px; margin: 0 auto 1.6rem; }

.ha .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 9px;
    padding: 0.85rem 1.5rem;
    border: 1px solid transparent;
    margin: 0.25rem 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.ha .btn-primary {
    background: var(--link);
    color: #0a1226;
    box-shadow: 0 6px 24px rgba(125, 167, 255, 0.28);
}

.ha .btn-primary:hover {
    background: var(--link-bright);
    color: #0a1226;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(125, 167, 255, 0.38);
}

.ha .btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: var(--line-strong);
}

.ha .btn-outline:hover {
    border-color: var(--cream-dim);
    background: rgba(240, 234, 220, 0.05);
    color: var(--cream);
    transform: translateY(-2px);
}

.ha .cta-strip {
    background: var(--ink-3);
    border: 1px solid var(--line-strong);
    color: var(--cream);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    margin: 2rem 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.ha .cta-strip a { color: var(--link); text-decoration: underline; }
.ha .cta-strip a:hover { color: var(--link-bright); }

.ha .signup-cta,
.ha .cta-box {
    text-align: center;
    background: var(--ink-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 2.4rem 1.6rem;
    margin: 2.5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.ha .signup-cta::before,
.ha .cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(480px 220px at 50% 0%, rgba(125, 167, 255, 0.1), transparent 65%);
}

.ha .signup-cta > *,
.ha .cta-box > * { position: relative; }

.ha .signup-cta h2,
.ha .cta-box h2 { border-bottom: none; margin-top: 0; padding-bottom: 0; }

/* ---------- minimal Bulma-compatible layer ---------- */

.ha .title,
.ha .article-content .title {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--cream);
    line-height: 1.12;
    letter-spacing: -0.012em;
}

.ha .subtitle { color: var(--cream-dim); font-weight: 400; }

.ha .title.is-1 { font-size: clamp(2.2rem, 4.6vw, 3rem); }
.ha .title.is-2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.ha .title.is-3 { font-size: 1.7rem; }
.ha .title.is-4 { font-size: 1.3rem; }
.ha .title.is-5 { font-size: 1.1rem; }

.ha .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-weight: 500;
    text-decoration: none;
    border-radius: 9px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--cream);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.ha .button.is-primary {
    background: var(--link);
    border-color: transparent;
    color: #0a1226;
    box-shadow: 0 6px 24px rgba(125, 167, 255, 0.28);
}

.ha .button.is-primary:hover {
    background: var(--link-bright);
    color: #0a1226;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(125, 167, 255, 0.38);
}

.ha .button.is-medium { font-size: 1rem; padding: 0.9rem 1.8rem; }
.ha .button.is-large { font-size: 1.08rem; padding: 1rem 2.1rem; }

.ha .box {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
    padding: 1.4rem;
    color: var(--cream-dim);
}

.ha .box .title, .ha .box h3, .ha .box h4 { color: var(--cream); }

.ha .tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: var(--ink-raised);
    border: 1px solid var(--line);
    color: var(--cream-dim);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    height: auto;
}

.ha .tag.is-primary,
.ha .tag.is-info { background: rgba(125, 167, 255, 0.14); border-color: rgba(125, 167, 255, 0.4); color: var(--link-bright); }
.ha .tag.is-success { background: rgba(85, 209, 134, 0.12); border-color: rgba(85, 209, 134, 0.35); color: var(--ok); }
.ha .tag.is-warning { background: rgba(232, 183, 92, 0.12); border-color: rgba(232, 183, 92, 0.35); color: var(--verb); }

.ha .tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    background: rgba(125, 167, 255, 0.1);
    border: 1px solid rgba(125, 167, 255, 0.32);
    color: var(--link-bright);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    margin: 0.15rem;
}

.ha .columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 1.4rem 0;
}

.ha .column { flex: 1 1 260px; min-width: 0; }
.ha .columns .column.is-half, .ha .columns .column.is-6 { flex-basis: calc(50% - 0.55rem); flex-grow: 0; }
.ha .columns .column.is-one-third, .ha .columns .column.is-4 { flex-basis: calc(33.333% - 0.75rem); flex-grow: 0; }
.ha .columns.is-vcentered { align-items: center; }

.ha .section { padding: 3.4rem 1.5rem; }
.ha .container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.ha .has-text-centered { text-align: center; }
.ha .mb-6 { margin-bottom: 2.6rem; }
.ha .mt-2 { margin-top: 0.5rem; }
.ha .is-inline-block { display: inline-block; }
.ha .has-text-white { color: var(--cream) !important; }
.ha .has-text-grey,
.ha .has-text-grey-light { color: var(--cream-dim) !important; }
.ha .has-text-link { color: var(--link) !important; text-decoration: none; }
.ha .has-text-link:hover { color: var(--link-bright) !important; text-decoration: underline; }
.ha .is-size-7 { font-size: 0.8rem; }
.ha .buttons.is-centered { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.ha .button.is-rounded { border-radius: 999px; }
.ha .button.is-large { font-size: 1.05rem; padding: 1rem 2rem; }

.ha .box pre {
    background: var(--ink) !important;
    color: var(--cream) !important;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    overflow-x: auto;
    margin: 0.8rem 0 0;
}

.ha .box pre code { background: transparent; border: none; padding: 0; color: var(--cream); font-size: inherit; }

.ha .box .title i { color: var(--verb); margin-right: 0.35rem; }

/* ---------- misc page helpers ---------- */

.ha .hero-section {
    text-align: center;
    padding: 5rem 0 3.5rem;
    position: relative;
}

.ha .hero-section h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.3rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--cream);
    margin: 0 0 1.2rem;
}

.ha .hero-section p {
    font-size: 1.12rem;
    color: var(--cream-dim);
    max-width: 760px;
    margin: 0 auto 2rem;
}

.ha .comparison-section {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2rem 0;
    margin: 2.5rem 0;
}

.ha .comparison-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.ha .comparison-table table { width: 100%; border-collapse: collapse; background: transparent; color: var(--cream-dim); }
.ha .comparison-table th, .ha .comparison-table td { padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); text-align: left; }
.ha .comparison-table th { background: var(--ink-3); color: var(--cream); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.ha .comparison-table tr:last-child td { border-bottom: none; }
.ha .comparison-table td strong { color: var(--cream); }

.ha .feature-card > i { font-size: 2.1rem; color: var(--link); margin-bottom: 1rem; display: inline-block; }

.ha .api-key-example {
    font-family: var(--font-mono);
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.4rem 0;
    font-size: 0.88rem;
    overflow-x: auto;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.ha .api-key-example code { background: transparent; border: none; padding: 0; color: var(--cream); font-size: 0.88rem; }
.ha .api-key-example .prefix { color: var(--link-bright); }
.ha .api-key-example .key { color: var(--verb); }

.ha tr.plan-highlight td { background: rgba(85, 209, 134, 0.08); color: var(--cream); }

.ha .resource-links a { display: inline-block; margin-right: 0.9rem; }

/* ---------- tutorial pages ---------- */

.ha .llm-logo-row {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.ha .llm-logo {
    height: 40px;
    max-width: 140px;
    background: #f2ede1;
    border-radius: 10px;
    padding: 8px 14px;
    box-sizing: content-box;
    object-fit: contain;
}

.ha .instruction-box {
    background: rgba(85, 209, 134, 0.07);
    border: 1px solid rgba(85, 209, 134, 0.32);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    margin: 2rem 0;
}

.ha .example-box {
    background: rgba(125, 167, 255, 0.07);
    border: 1px solid rgba(125, 167, 255, 0.3);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    margin: 2rem 0;
}

.ha .instruction-box h3, .ha .instruction-box h4,
.ha .example-box h3, .ha .example-box h4 { margin-top: 0; }

.ha .step-box {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--verb);
    border-radius: 0 10px 10px 0;
    padding: 1.3rem 1.5rem;
    margin: 1.5rem 0;
}

.ha .step-box h3, .ha .step-box h4 { margin-top: 0; }

.ha .file-structure {
    background: var(--ink-2);
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-x: auto;
}

.ha .file-structure pre { background: transparent; border: none; margin: 0; padding: 0; color: var(--cream); overflow-x: auto; white-space: pre-wrap; }

.ha .code-output {
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    padding: 1.4rem;
    text-align: center;
}

.ha .code-output h4 {
    color: var(--cream-dim);
    margin: 0 0 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ha .generated-image {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.ha .method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
    margin: 2rem 0;
}

.ha .method-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.ha .method-card h3 { margin-top: 0; color: var(--cream); }

.ha .tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.4rem;
    margin: 3rem 0;
}

.ha .tutorial-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ha .tutorial-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ha .tutorial-card-header { padding: 1.8rem 1.8rem 0.6rem; text-align: center; }
.ha .tutorial-card-icon { font-size: 2.4rem; margin-bottom: 0.9rem; color: var(--verb); }
.ha .tutorial-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.35rem; color: var(--cream); }
.ha .tutorial-card-subtitle { color: var(--cream-faint); font-family: var(--font-mono); font-size: 0.78rem; }
.ha .tutorial-card-body { padding: 0.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.ha .tutorial-card-description { color: var(--cream-dim); margin-bottom: 1.2rem; line-height: 1.6; }
.ha .tutorial-card-features { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.ha .tutorial-card-features li { padding: 0.35rem 0 0.35rem 1.5rem; color: var(--cream-dim); position: relative; margin: 0; }
.ha .tutorial-card-features li::before { content: "✓"; color: var(--ok); font-weight: bold; position: absolute; left: 0; }
.ha .tutorial-card-cta { text-align: center; margin-top: auto; }

.ha .tutorial-card-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--link);
    color: #0a1226;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ha .tutorial-card-btn:hover { background: var(--link-bright); color: #0a1226; transform: translateY(-2px); }

.ha .claude-card .tutorial-card-icon { color: #ff8f73; }
.ha .cursor-card .tutorial-card-icon { color: #4dd0b5; }
.ha .chatgpt-card .tutorial-card-icon { color: #55d186; }
.ha .copilot-card .tutorial-card-icon { color: var(--cream); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .ha .columns .column.is-one-third,
    .ha .columns .column.is-4 { flex-basis: calc(50% - 0.55rem); }
}

@media (max-width: 768px) {
    .ha .article-content {
        padding: 3rem 20px 2.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .ha .article-content h1 { overflow-wrap: anywhere; }
    .ha .base-url { padding: 0.9rem 1rem; font-size: 0.88rem; }
    .ha .code-content { padding: 1rem; font-size: 0.78rem; }
    .ha .endpoint-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .ha .columns .column.is-half,
    .ha .columns .column.is-6,
    .ha .columns .column.is-one-third,
    .ha .columns .column.is-4 { flex-basis: 100%; }
    .ha .conversation-item { flex-direction: column; }
}
