:root {
    --blue: #00a9df;
    --navy: #0b2a5b;
    --dark: #102033;
    --text: #334155;
    --muted: #64748b;
    --bg: #f8fbff;
    --card: #ffffff;
    --border: #e2e8f0;
    --soft-blue: #e8f7ff;
    --green-bg: #ecfdf5;
    --green-text: #047857;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(0, 169, 223, 0.13), transparent 34rem), linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #ffffff 100%);
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    .logo-link img {
        height: 42px;
        width: auto;
        display: block;
    }

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

    .main-nav a,
    .login-link,
    .footer-links a {
        color: var(--muted);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }

        .main-nav a:hover,
        .login-link:hover,
        .footer-links a:hover {
            color: var(--navy);
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-link {
    color: var(--navy);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-large {
    min-height: 50px;
    padding: 0 22px;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: 0 12px 30px rgba(0, 169, 223, 0.28);
}

.btn-secondary {
    color: var(--navy);
    background: #ffffff;
    border-color: var(--border);
}

.hero {
    padding: 92px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

    .eyebrow span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--blue);
    }

.hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.hero-text {
    margin: 24px 0 0;
    max-width: 680px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
}

.workflow-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.window-dots {
    display: flex;
    gap: 7px;
}

    .window-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
    }

.workflow-body {
    padding: 22px;
}


.step-number {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--soft-blue);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.tui-shell {
    background: radial-gradient(circle at top right, rgba(0, 169, 223, 0.18), transparent 18rem), linear-gradient(145deg, #07111f, #0f172a 58%, #08111f);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.tui-topbar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
}

.tui-window-dots {
    display: flex;
    gap: 7px;
}

    .tui-window-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #475569;
    }

        .tui-window-dots span:nth-child(1) {
            background: #ef4444;
        }

        .tui-window-dots span:nth-child(2) {
            background: #f59e0b;
        }

        .tui-window-dots span:nth-child(3) {
            background: #22c55e;
        }

.tui-title {
    color: #94a3b8;
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
}

.tui-screen {
    margin: 0;
    padding: 22px;
    overflow-x: auto;
    white-space: pre;
    color: #dbeafe;
    font-family: "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
    font-size: clamp(11px, 1.08vw, 13px);
    line-height: 1.55;
    tab-size: 2;
}

    .tui-screen code {
        font-family: inherit;
    }

.tui-prompt {
    color: #f8fafc;
}

.tui-muted {
    color: #94a3b8;
}

.tui-quote {
    color: #cbd5e1;
}

.agent-codex,
.line-codex {
    color: #38bdf8;
}

.agent-gemini,
.line-gemini {
    color: #f59e0b;
}

.agent-claude,
.line-claude {
    color: #a78bfa;
}

.status-ok {
    color: #22c55e;
}

.status-warn {
    color: #f59e0b;
}

.status-active {
    color: #22d3ee;
}

.tui-box {
    color: #64748b;
}

.tui-cursor {
    color: #22d3ee;
    animation: tuiCursorBlink 1.15s steps(1, end) infinite;
}

@keyframes tuiCursorBlink {
    0%, 48% {
        opacity: 1;
    }

    49%, 100% {
        opacity: 0;
    }
}

.section {
    padding: 78px 0;
}

.section-muted {
    background: rgba(248, 251, 255, 0.72);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-label {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section h2,
.cta-box h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p:not(.section-label),
.section-description {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: var(--soft-blue);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 20px;
    letter-spacing: -0.02em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.artifact-card {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 26px;
    padding: 24px;
    box-shadow: var(--shadow);
}

    .artifact-card h3 {
        margin: 0 0 18px;
        color: #ffffff;
        font-size: 16px;
    }

    .artifact-card div {
        padding: 14px 0;
        border-top: 1px solid rgba(226, 232, 240, 0.14);
    }

    .artifact-card strong {
        display: block;
        color: #ffffff;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .artifact-card span {
        display: block;
        color: #94a3b8;
        font-size: 14px;
        line-height: 1.5;
    }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
}

    .process-step span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: var(--soft-blue);
        color: var(--navy);
        font-size: 13px;
        font-weight: 900;
        margin-bottom: 14px;
    }

    .process-step h3 {
        margin: 0 0 8px;
        color: var(--dark);
        font-size: 18px;
        letter-spacing: 0;
    }

    .process-step p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.technical-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 18px;
    align-items: stretch;
}

    .technical-grid > div:first-child {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
    }

    .technical-grid h3 {
        margin: 0 0 16px;
        color: var(--dark);
        font-size: 20px;
        letter-spacing: 0;
    }

.technical-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

    .technical-list li {
        position: relative;
        padding-left: 24px;
        color: var(--text);
        font-size: 15px;
        line-height: 1.55;
    }

        .technical-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--blue);
            font-weight: 900;
        }

.capability-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

    .capability-strip article {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 24px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    }

    .capability-strip h3 {
        margin: 0 0 10px;
        color: var(--dark);
        font-size: 22px;
        letter-spacing: 0;
    }

    .capability-strip p {
        margin: 0;
        color: var(--text);
        font-size: 15px;
        line-height: 1.65;
    }

    .capability-strip span {
        display: block;
        margin-top: 14px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

.benefits-list {
    display: grid;
    gap: 14px;
}

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

    .benefit-item > span {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        border-radius: 50%;
        background: var(--soft-blue);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 900;
    }

    .benefit-item h3 {
        margin: 0 0 5px;
        color: var(--dark);
        font-size: 17px;
    }

    .benefit-item p {
        margin: 0;
        color: var(--muted);
        line-height: 1.55;
        font-size: 15px;
    }

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

    .use-cases-grid div {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 20px;
    }

    .use-cases-grid strong {
        display: block;
        color: var(--dark);
        margin-bottom: 8px;
        font-size: 16px;
    }

    .use-cases-grid span {
        color: var(--muted);
        line-height: 1.55;
        font-size: 14px;
    }

.cta-section {
    padding: 76px 0 96px;
}

.cta-box {
    background: radial-gradient(circle at top right, rgba(0, 169, 223, 0.22), transparent 28rem), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 44px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
}

    .cta-box p {
        margin: 14px 0 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.6;
        max-width: 680px;
    }

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
    background: #ffffff;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

@media (max-width: 960px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .split-section,
    .technical-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .process-grid,
    .capability-strip {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        position: static;
    }

    .header-inner {
        height: auto;
        padding: 16px 0;
    }

    .login-link {
        display: none;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 18px;
        border-radius: 8px;
        border: 1px solid transparent;
        font-weight: 700;
        font-size: 15px;
        line-height: 1;
        text-decoration: none;
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    }

    .workflow-step {
        grid-template-columns: 34px 1fr;
    }

        .workflow-step strong {
            padding: 5px 9px;
            border-radius: 7px;
            background: var(--green-bg);
            color: var(--green-text);
            font-size: 12px;
            font-weight: 800;
            white-space: nowrap;
        }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }


}

.legal-page {
    padding: 72px 0 96px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
    gap: 56px;
    align-items: start;
}

.legal-content {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

    .legal-content h1 {
        margin: 0 0 12px;
        color: var(--dark);
        font-size: clamp(34px, 4vw, 52px);
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

.legal-updated {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.legal-content h2 {
    margin: 34px 0 12px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.02em;
}

.legal-content h3 {
    margin: 24px 0 10px;
    color: var(--dark);
    font-size: 18px;
}

.legal-content p,
.legal-content li {
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-content a {
    color: var(--navy);
    font-weight: 700;
}

.legal-note {
    padding: 16px;
    border-radius: 12px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
}

.legal-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

    .legal-sidebar strong {
        display: block;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .legal-sidebar a {
        display: block;
        padding: 8px 0;
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

        .legal-sidebar a:hover {
            color: var(--navy);
        }

@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .legal-content {
        padding: 24px;
    }
}

.pricing-hero {
    padding: 86px 0 54px;
}

.pricing-hero-inner {
    max-width: 840px;
    text-align: center;
}

.pricing-hero .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.pricing-hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.pricing-hero p {
    margin: 22px auto 0;
    max-width: 740px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.pricing-section {
    padding: 36px 0 72px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.pricing-card-featured {
    border-color: rgba(0, 169, 223, 0.5);
    box-shadow: 0 18px 50px rgba(0, 169, 223, 0.12);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.pricing-card-header {
    min-height: 106px;
}

.pricing-card h2 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 24px;
    letter-spacing: -0.03em;
}

.pricing-card-header p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.price {
    margin: 20px 0 22px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

    .price span {
        color: var(--dark);
        font-size: 42px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.05em;
    }

    .price small {
        color: var(--muted);
        font-size: 14px;
        font-weight: 600;
    }

.btn-full {
    width: 100%;
}

.pricing-features {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

    .pricing-features li {
        position: relative;
        padding-left: 24px;
        color: var(--text);
        font-size: 15px;
        line-height: 1.45;
    }

        .pricing-features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--blue);
            font-weight: 900;
        }

.pricing-note-section {
    padding: 72px 0;
    background: rgba(248, 251, 255, 0.72);
}

.pricing-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pricing-note {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

    .pricing-note h2 {
        margin: 0 0 10px;
        color: var(--dark);
        font-size: 22px;
        letter-spacing: -0.03em;
    }

    .pricing-note p {
        margin: 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

.pricing-faq-section {
    padding: 78px 0;
}

.pricing-faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

    .pricing-faq details {
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 18px 20px;
    }

    .pricing-faq summary {
        cursor: pointer;
        color: var(--dark);
        font-size: 17px;
        font-weight: 800;
    }

    .pricing-faq p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pricing-grid,
    .pricing-note-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-header {
        min-height: auto;
    }

    .pricing-hero {
        padding: 56px 0 32px;
    }

    .pricing-section {
        padding: 28px 0 56px;
    }
}

.get-started-hero {
    padding: 86px 0 54px;
}

.get-started-hero-inner {
    max-width: 860px;
}

.get-started-hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.get-started-hero p {
    margin: 22px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.get-started-section {
    padding: 36px 0 96px;
}

.get-started-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 820px);
    gap: 56px;
    align-items: start;
}

.get-started-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

    .get-started-sidebar strong {
        display: block;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .get-started-sidebar a {
        display: block;
        padding: 8px 0;
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

        .get-started-sidebar a:hover {
            color: var(--navy);
        }

.get-started-content {
    display: grid;
    gap: 22px;
}

.guide-block {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

    .guide-block h2 {
        margin: 0;
        color: var(--dark);
        font-size: clamp(28px, 3vw, 38px);
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .guide-block p {
        margin: 16px 0 0;
        color: var(--text);
        font-size: 16px;
        line-height: 1.7;
    }

.requirements-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .requirements-grid div {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
        background: #f8fbff;
    }

    .requirements-grid strong {
        display: block;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .requirements-grid span {
        display: block;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

.code-card {
    margin-top: 18px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    overflow: hidden;
}

.code-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.88);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

    .code-card-top span {
        color: #94a3b8;
        font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
        font-size: 12px;
        font-weight: 700;
    }

.code-card pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
}

.code-card code {
    color: #dbeafe;
    font-family: "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.65;
}

.guide-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
}

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

.artifact-preview {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

    .artifact-preview div {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 16px;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #f8fbff;
    }

    .artifact-preview strong {
        color: var(--dark);
    }

    .artifact-preview span {
        color: var(--muted);
        line-height: 1.55;
    }

.troubleshooting-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

    .troubleshooting-list details {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px 18px;
        background: #f8fbff;
    }

    .troubleshooting-list summary {
        cursor: pointer;
        color: var(--dark);
        font-size: 16px;
        font-weight: 800;
    }

    .troubleshooting-list p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

@media (max-width: 960px) {
    .get-started-layout {
        grid-template-columns: 1fr;
    }

    .get-started-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .get-started-hero {
        padding: 56px 0 32px;
    }

    .get-started-section {
        padding: 28px 0 64px;
    }

    .guide-block {
        padding: 24px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .artifact-preview div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .code-card code {
        font-size: 12.5px;
    }
}

.install-tabs {
    margin-top: 22px;
    display: grid;
    gap: 16px;
}

.install-option {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: #ffffff;
}

.install-option-active {
    background: #f8fbff;
    border-color: rgba(0, 169, 223, 0.38);
}

.install-option-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

    .install-option-header strong {
        color: var(--dark);
        font-size: 18px;
    }

    .install-option-header span {
        color: var(--muted);
        font-size: 13px;
        font-weight: 700;
    }

.install-option p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.install-option .code-card {
    margin-top: 14px;
}

.examples-hero {
    padding: 86px 0 54px;
}

.examples-hero-inner {
    max-width: 900px;
}

.examples-hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.examples-hero p {
    margin: 22px 0 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.examples-section {
    padding: 36px 0 76px;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.example-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.example-card-featured {
    border-color: rgba(0, 169, 223, 0.42);
    box-shadow: 0 18px 50px rgba(0, 169, 223, 0.1);
}

.example-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

    .example-card-top span {
        color: var(--blue);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .example-card-top strong {
        color: var(--muted);
        font-size: 13px;
    }

.example-card h2 {
    margin: 0;
    color: var(--dark);
    font-size: 26px;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.example-card p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.example-card ul {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.example-card li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

    .example-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--blue);
        font-weight: 900;
    }

.example-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.example-detail-section {
    padding: 82px 0;
}

.example-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 36px;
    align-items: center;
}

.example-detail-content h2,
.example-two-column h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.example-detail-content > p:not(.section-label),
.example-description {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.prompt-card {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
}

    .prompt-card strong {
        display: block;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .prompt-card p {
        margin: 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

.mini-tui-shell {
    background: radial-gradient(circle at top right, rgba(0, 169, 223, 0.18), transparent 18rem), linear-gradient(145deg, #07111f, #0f172a 58%, #08111f);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.mini-tui-topbar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
    color: #94a3b8;
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
}

.mini-tui-screen {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    white-space: pre;
    color: #dbeafe;
    font-family: "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
    font-size: clamp(10px, 0.95vw, 12px);
    line-height: 1.55;
}

    .mini-tui-screen code {
        font-family: inherit;
    }

.artifact-result {
    margin-top: 34px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

    .artifact-result.compact {
        margin-top: 0;
    }

.artifact-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

    .artifact-result-header span {
        color: var(--blue);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .artifact-result-header strong {
        color: var(--dark);
        font-size: 15px;
    }

.artifact-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

    .artifact-result-grid div {
        background: #f8fbff;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
    }

    .artifact-result-grid h3 {
        margin: 0 0 8px;
        color: var(--dark);
        font-size: 16px;
    }

    .artifact-result-grid p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.example-two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
}

.ci-review-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.ci-review-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

    .ci-review-row:first-child {
        padding-top: 0;
    }

    .ci-review-row span {
        color: var(--muted);
        font-size: 14px;
        font-weight: 700;
    }

    .ci-review-row strong {
        color: var(--dark);
        font-size: 15px;
        line-height: 1.5;
    }

.ci-command {
    margin-top: 18px;
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
}

    .ci-command pre {
        margin: 0;
        padding: 18px;
        overflow-x: auto;
    }

    .ci-command code {
        color: #dbeafe;
        font-family: "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
        font-size: 13px;
        line-height: 1.6;
    }

.examples-cta-section {
    padding: 76px 0 96px;
}

@media (max-width: 1100px) {
    .examples-grid,
    .artifact-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .example-detail,
    .example-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .examples-hero {
        padding: 56px 0 32px;
    }

    .examples-section {
        padding: 28px 0 56px;
    }

    .examples-grid,
    .artifact-result-grid {
        grid-template-columns: 1fr;
    }

    .example-detail-section {
        padding: 64px 0;
    }

    .ci-review-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mini-tui-screen {
        padding: 16px;
        font-size: 10px;
    }
}

.docs-hero {
    padding: 86px 0 54px;
}

.docs-hero-inner {
    max-width: 900px;
}

.docs-hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.docs-hero p {
    margin: 22px 0 0;
    max-width: 780px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.docs-section {
    padding: 36px 0 96px;
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 850px);
    gap: 56px;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

    .docs-sidebar strong {
        display: block;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .docs-sidebar a {
        display: block;
        padding: 8px 0;
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

        .docs-sidebar a:hover {
            color: var(--navy);
        }

.docs-content {
    display: grid;
    gap: 22px;
}

.docs-block {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

    .docs-block h2 {
        margin: 0;
        color: var(--dark);
        font-size: clamp(28px, 3vw, 38px);
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .docs-block h3 {
        margin: 28px 0 12px;
        color: var(--dark);
        font-size: 21px;
        letter-spacing: -0.03em;
    }

    .docs-block p {
        margin: 16px 0 0;
        color: var(--text);
        font-size: 16px;
        line-height: 1.7;
    }

    .docs-block code {
        font-family: "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", monospace;
    }

.docs-callout {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
}

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

    .docs-callout.warning {
        background: #fffbeb;
        color: #92400e;
    }

        .docs-callout.warning strong {
            color: #92400e;
        }

.docs-table-wrapper {
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    background: #ffffff;
}

    .docs-table th,
    .docs-table td {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        vertical-align: top;
    }

    .docs-table th {
        color: var(--dark);
        font-size: 14px;
        background: #f8fbff;
    }

    .docs-table td {
        color: var(--text);
        font-size: 14px;
        line-height: 1.55;
    }

    .docs-table tr:last-child td {
        border-bottom: 0;
    }

.docs-example-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .docs-example-grid div {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px;
        background: #f8fbff;
    }

    .docs-example-grid strong {
        display: block;
        color: var(--dark);
        margin-bottom: 7px;
    }

    .docs-example-grid span {
        display: block;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

.docs-artifact-map {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .docs-artifact-map div {
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #f8fbff;
    }

    .docs-artifact-map strong {
        display: block;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .docs-artifact-map p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.docs-process-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

    .docs-process-list div {
        display: grid;
        grid-template-columns: 42px minmax(150px, 210px) 1fr;
        gap: 14px;
        align-items: start;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #f8fbff;
    }

    .docs-process-list span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--soft-blue);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 13px;
    }

    .docs-process-list strong {
        color: var(--dark);
        font-size: 15px;
        line-height: 1.5;
    }

    .docs-process-list p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.6;
    }

.docs-prompt-card {
    margin-top: 22px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    overflow: hidden;
}

    .docs-prompt-card strong {
        display: block;
        padding: 12px 16px;
        color: #94a3b8;
        font-size: 13px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .docs-prompt-card pre {
        margin: 0;
        padding: 18px;
        overflow-x: auto;
    }

    .docs-prompt-card code {
        color: #dbeafe;
        font-size: 14px;
        line-height: 1.65;
    }

.docs-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

    .docs-list div {
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 14px;
        align-items: start;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #f8fbff;
    }

    .docs-list span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--soft-blue);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 13px;
    }

    .docs-list p {
        margin: 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.6;
    }

.docs-checklist {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

    .docs-checklist li {
        position: relative;
        padding-left: 26px;
        color: var(--text);
        font-size: 15px;
        line-height: 1.55;
    }

        .docs-checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--blue);
            font-weight: 900;
        }

.docs-faq {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

    .docs-faq details {
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 16px 18px;
        background: #f8fbff;
    }

    .docs-faq summary {
        cursor: pointer;
        color: var(--dark);
        font-size: 16px;
        font-weight: 800;
    }

    .docs-faq p {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

    .docs-faq code {
        color: var(--navy);
        font-weight: 700;
    }

@media (max-width: 960px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .docs-hero {
        padding: 56px 0 32px;
    }

    .docs-section {
        padding: 28px 0 64px;
    }

    .docs-block {
        padding: 24px;
    }

    .docs-example-grid,
    .docs-artifact-map,
    .docs-process-list div {
        grid-template-columns: 1fr;
    }

    .docs-prompt-card code {
        font-size: 12.5px;
    }
}

.account-hero {
    padding: 86px 0 54px;
}

    .account-hero.compact {
        padding: 64px 0 42px;
    }

.account-hero-inner {
    max-width: 900px;
}

.account-hero h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.account-hero p {
    margin: 22px 0 0;
    max-width: 780px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.account-section {
    padding: 36px 0 96px;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 850px);
    gap: 56px;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

    .account-sidebar strong {
        display: block;
        margin-bottom: 12px;
        color: var(--dark);
    }

    .account-sidebar a {
        display: block;
        padding: 9px 10px;
        color: var(--muted);
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        border-radius: 8px;
    }

        .account-sidebar a:hover,
        .account-sidebar a.active {
            color: var(--navy);
            background: var(--soft-blue);
        }

.account-content {
    display: grid;
    gap: 22px;
}

.account-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.account-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.account-panel h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.account-muted {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.account-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.account-status-muted {
    background: #f1f5f9;
    color: #475569;
}

.account-status-warning {
    background: #fffbeb;
    color: #92400e;
}

.account-status-ok {
    background: #ecfdf5;
    color: #047857;
}

.account-summary-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.account-summary-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fbff;
}

    .account-summary-card span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .account-summary-card strong {
        display: block;
        color: var(--dark);
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    .account-summary-card p {
        margin: 8px 0 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.5;
    }

.account-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.account-action-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    background: #f8fbff;
}

    .account-action-card h3 {
        margin: 0 0 8px;
        color: var(--dark);
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    .account-action-card p {
        margin: 0 0 16px;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.6;
    }

.account-code-card {
    margin-bottom: 16px;
}

.account-mini-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

    .account-mini-list li {
        position: relative;
        padding-left: 22px;
        color: var(--text);
        font-size: 14px;
        line-height: 1.5;
    }

        .account-mini-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--blue);
            font-weight: 900;
        }

.license-card,
.billing-grid,
.purchase-record-preview {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

    .license-row,
    .billing-grid div,
    .purchase-record-preview div {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 16px;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        background: #f8fbff;
    }

        .license-row:last-child,
        .billing-grid div:last-child,
        .purchase-record-preview div:last-child {
            border-bottom: 0;
        }

        .license-row span,
        .billing-grid span,
        .purchase-record-preview span {
            color: var(--muted);
            font-size: 14px;
            font-weight: 800;
        }

        .license-row strong,
        .billing-grid strong,
        .purchase-record-preview strong {
            color: var(--dark);
            font-size: 15px;
            line-height: 1.5;
        }

.locked-package-grid {
    margin: 22px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .locked-package-grid div {
        border: 1px dashed rgba(100, 116, 139, 0.45);
        border-radius: 14px;
        padding: 18px;
        background: #f8fbff;
    }

    .locked-package-grid strong {
        display: block;
        color: var(--dark);
        margin-bottom: 7px;
    }

    .locked-package-grid span {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

.account-disabled-action {
    margin: 22px 0;
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed rgba(100, 116, 139, 0.45);
    background: #f8fbff;
}

    .account-disabled-action strong {
        display: block;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .account-disabled-action span {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

.account-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.purchase-empty-state {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fbff;
}

    .purchase-empty-state strong {
        display: block;
        color: var(--dark);
        font-size: 18px;
        margin-bottom: 8px;
    }

    .purchase-empty-state span {
        display: block;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

@media (max-width: 960px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        order: -1;
    }

    .account-summary-grid,
    .account-actions-grid,
    .locked-package-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .account-hero {
        padding: 56px 0 32px;
    }

        .account-hero.compact {
            padding: 48px 0 28px;
        }

    .account-section {
        padding: 28px 0 64px;
    }

    .account-panel {
        padding: 24px;
    }

    .account-panel-header {
        flex-direction: column;
    }

    .license-row,
    .billing-grid div,
    .purchase-record-preview div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.checkout-hero {
    padding: 86px 0 96px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 48px;
    align-items: start;
}

.checkout-copy h1,
.checkout-success-card h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.checkout-copy > p,
.checkout-success-card > p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.checkout-plan-card,
.checkout-card,
.checkout-success-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.checkout-plan-card {
    margin-top: 28px;
    padding: 22px;
}

    .checkout-plan-card span {
        display: block;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .checkout-plan-card strong {
        display: block;
        color: var(--dark);
        font-size: 26px;
        letter-spacing: -0.04em;
    }

    .checkout-plan-card p {
        margin: 8px 0 0;
        color: var(--navy);
        font-size: 18px;
        font-weight: 800;
    }

.checkout-note {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: var(--soft-blue);
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
}

    .checkout-note a {
        color: var(--navy);
        font-weight: 800;
    }

.checkout-card {
    padding: 28px;
}

    .checkout-card h2 {
        margin: 0;
        color: var(--dark);
        font-size: 28px;
        letter-spacing: -0.04em;
    }

    .checkout-card p {
        margin: 14px 0 22px;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.65;
    }

    .checkout-card .btn + .btn {
        margin-top: 12px;
    }

.checkout-small-print {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.checkout-success-section {
    padding: 86px 0 96px;
}

.checkout-success-card {
    max-width: 820px;
    padding: 42px;
}

.checkout-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .checkout-hero,
    .checkout-success-section {
        padding: 56px 0 64px;
    }

    .checkout-card,
    .checkout-success-card {
        padding: 24px;
    }

    .checkout-success-actions {
        flex-direction: column;
    }
}

.auth-page {
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.05), transparent 34%), #f8fafc;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    padding: 36px 36px 34px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.auth-brand {
    margin-bottom: 28px;
    text-align: center;
}

.auth-logo {
    display: inline-flex;
    color: #0f172a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    text-decoration: none;
}

.auth-brand p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.auth-card h1 {
    margin: 0 0 30px;
    color: #0f172a;
    text-align: center;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.045em;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

    .auth-field label,
    .auth-label-row label {
        color: #0f172a;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
    }

.auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

    .auth-label-row a,
    .auth-register a,
    .auth-legal a {
        color: #2563eb;
        text-decoration: none;
    }

        .auth-label-row a:hover,
        .auth-register a:hover,
        .auth-legal a:hover {
            text-decoration: underline;
        }

.auth-input {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    display: block;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    appearance: none;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: 15px;
    line-height: 46px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

    .auth-input::placeholder {
        color: #94a3b8;
    }

    .auth-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
    }

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

    .auth-check input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: #2563eb;
    }

.auth-primary-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .auth-primary-button:hover {
        background: #1d4ed8;
        box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
        transform: translateY(-1px);
    }

    .auth-primary-button:active {
        transform: translateY(0);
        box-shadow: none;
    }

.auth-register {
    margin: 1px 0 0;
    color: #475569;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    margin: 28px 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
}

    .auth-divider span {
        height: 1px;
        background: #e2e8f0;
    }

    .auth-divider em {
        font-style: normal;
        white-space: nowrap;
    }

.auth-external-form {
    display: grid;
    gap: 10px;
}

.auth-external-button {
    width: 100%;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .auth-external-button:hover {
        border-color: #94a3b8;
        background: #f8fafc;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
        transform: translateY(-1px);
    }

.auth-muted {
    margin: 0;
    color: #64748b;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.auth-legal {
    margin: 24px auto 0;
    max-width: 390px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    line-height: 1.65;
}

.auth-validation {
    color: #b91c1c;
    font-size: 14px;
    line-height: 1.45;
}

    .auth-validation ul {
        margin: 0;
        padding-left: 18px;
    }

.auth-field span {
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .auth-page {
        align-items: flex-start;
        min-height: calc(100vh - 72px);
        padding: 28px 14px;
    }

    .auth-card {
        max-width: none;
        padding: 28px 20px 26px;
        border-radius: 18px;
    }

        .auth-card h1 {
            margin-bottom: 26px;
            font-size: 24px;
        }

    .auth-logo {
        font-size: 25px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-account-link {
    color: #0f2a52;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

    .header-account-link:hover {
        color: #075985;
        text-decoration: none;
    }

.header-logout-form {
    display: flex;
    align-items: center;
    margin: 0;
}

.header-link-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: #0f2a52;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

    .header-link-button:hover {
        color: #075985;
    }

@media (max-width: 720px) {
    .header-actions {
        gap: 10px;
    }

    .header-account-link {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}